Removing .unbind in favor of .off in jQuery.ready

This commit is contained in:
Daniel Herman 2011-11-09 00:00:02 -05:00 committed by Dave Methvin
parent 39f9b846e7
commit 654930de21

View File

@ -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" );
}
}
},