aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorDaniel Herman <daniel.c.herman@gmail.com>2011-11-07 18:04:59 -0500
committerDaniel Herman <daniel.c.herman@gmail.com>2011-11-07 18:07:54 -0500
commit5ba98fe32445dd58707949f64a599f6d4b0ee49b (patch)
tree8f25f007705a7506fc6328049f3b261b7f5267f2 /src/event.js
parent9189d7b6a3a7522327c27db5777c712034e0183d (diff)
downloadjquery-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.js2
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 );
};