We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code as written now assumes that either
But if someone used jQuery to add a handler i.e. jQuery( function( $ ) { $( window ).load( function () { ... } ); } );
jQuery( function( $ ) { $( window ).load( function () { ... } ); } );
or they used vanilla JS i.e. window.addEventListener( 'load', function () { ... } );
window.addEventListener( 'load', function () { ... } );
then it's going to overwrite those handlers and they'll never run.
For more info about how to attach event handlers/listeners, see https://stackoverflow.com/a/30915025/8524018
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The code as written now assumes that either
But if someone used jQuery to add a handler i.e.
jQuery( function( $ ) { $( window ).load( function () { ... } ); } );
or they used vanilla JS i.e.
window.addEventListener( 'load', function () { ... } );
then it's going to overwrite those handlers and they'll never run.
For more info about how to attach event handlers/listeners, see https://stackoverflow.com/a/30915025/8524018
The text was updated successfully, but these errors were encountered: