diff options
author | Daniel Herman <daniel.c.herman@gmail.com> | 2011-11-07 18:04:59 -0500 |
---|---|---|
committer | Daniel Herman <daniel.c.herman@gmail.com> | 2011-11-07 18:07:54 -0500 |
commit | 5ba98fe32445dd58707949f64a599f6d4b0ee49b (patch) | |
tree | 8f25f007705a7506fc6328049f3b261b7f5267f2 /src/event.js | |
parent | 9189d7b6a3a7522327c27db5777c712034e0183d (diff) | |
download | jquery-5ba98fe32445dd58707949f64a599f6d4b0ee49b.tar.gz jquery-5ba98fe32445dd58707949f64a599f6d4b0ee49b.zip |
Replace .bind with .on when building event aliases
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js index 5fc39a18b..7d0c516f5 100644 --- a/src/event.js +++ b/src/event.js @@ -1033,7 +1033,7 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl } return arguments.length > 0 ? - this.bind( name, data, fn ) : + this.on( name, null, data, fn ) : this.trigger( name ); }; |