From 5ba98fe32445dd58707949f64a599f6d4b0ee49b Mon Sep 17 00:00:00 2001 From: Daniel Herman Date: Mon, 7 Nov 2011 18:04:59 -0500 Subject: Replace .bind with .on when building event aliases --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event.js') 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 ); }; -- cgit v1.2.3