Skip to content
Permalink
Browse files

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

  • Loading branch information...
dcherman authored and dmethvin committed Nov 9, 2011
1 parent 39f9b84 commit 654930de210a3d6730fcb10ca0e0423b7d0a133b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -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" );
}
}
},

0 comments on commit 654930d

Please sign in to comment.
You can’t perform that action at this time.