aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-11-07 17:40:55 -0800
committerDave Methvin <dave.methvin@gmail.com>2011-11-07 17:40:55 -0800
commit68ca9d47a049052bb3a00dbc3d0f9e08c1a3c5ea (patch)
tree8f25f007705a7506fc6328049f3b261b7f5267f2
parent9189d7b6a3a7522327c27db5777c712034e0183d (diff)
parent5ba98fe32445dd58707949f64a599f6d4b0ee49b (diff)
downloadjquery-68ca9d47a049052bb3a00dbc3d0f9e08c1a3c5ea.tar.gz
jquery-68ca9d47a049052bb3a00dbc3d0f9e08c1a3c5ea.zip
Merge pull request #585 from dcherman/master
Replace .bind with .on when building event aliases
-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 );
};