Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace window.onload #19

Closed
tobiasroeder opened this issue Feb 19, 2022 · 0 comments
Closed

Replace window.onload #19

tobiasroeder opened this issue Feb 19, 2022 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@tobiasroeder
Copy link
Owner

To avoid window.onload overwritting, replace

window.onload = imagebox.init;

with

window.addEventListener('load', imagebox.init);
@tobiasroeder tobiasroeder added bug Something isn't working enhancement New feature or request labels Feb 19, 2022
@tobiasroeder tobiasroeder changed the title Replace window.onload Replace window.onload Feb 19, 2022
@tobiasroeder tobiasroeder self-assigned this Feb 19, 2022
@tobiasroeder tobiasroeder mentioned this issue Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant