Skip to content

Commit

Permalink
Removing .unbind in favor of .off in jQuery.ready
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherman authored and dmethvin committed Nov 10, 2011
1 parent 39f9b84 commit 654930d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -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" );
}
}
},
Expand Down

0 comments on commit 654930d

Please sign in to comment.