aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Herman <daniel.c.herman@gmail.com>2011-11-09 00:00:02 -0500
committerDave Methvin <dave.methvin@gmail.com>2011-11-09 20:30:08 -0500
commit654930de210a3d6730fcb10ca0e0423b7d0a133b (patch)
treef7a0e95c3352d5baeca343e8f1e0e06b4895f707 /src
parent39f9b846e722600aece0a5428e38e9b12217395e (diff)
downloadjquery-654930de210a3d6730fcb10ca0e0423b7d0a133b.tar.gz
jquery-654930de210a3d6730fcb10ca0e0423b7d0a133b.zip
Removing .unbind in favor of .off in jQuery.ready
Diffstat (limited to 'src')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 969c7eeba..bc728ee90 100644
--- a/src/core.js
+++ b/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" );
}
}
},