mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Removing .unbind in favor of .off in jQuery.ready
This commit is contained in:
parent
39f9b846e7
commit
654930de21
@ -418,7 +418,7 @@ jQuery.extend({
|
||||
|
||||
// Trigger any bound ready events
|
||||
if ( jQuery.fn.trigger ) {
|
||||
jQuery( document ).trigger( "ready" ).unbind( "ready" );
|
||||
jQuery( document ).trigger( "ready" ).off( "ready" );
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user