git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69cbcf8
)
jquery event: extra for #3498. Using the new mouse(enter|leave) shortcuts in $.fn...
author
Ariel Flesler
<aflesler@gmail.com>
Wed, 22 Oct 2008 10:06:54 +0000
(10:06 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Wed, 22 Oct 2008 10:06:54 +0000
(10:06 +0000)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
90abe03
..
d5ca6cd
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-467,7
+467,7
@@
jQuery.fn.extend({
},
hover: function(fnOver, fnOut) {
- return this.bind('mouseenter', fnOver).bind('mouseleave', fnOut);
+ return this.mouseenter(fnOver).mouseleave(fnOut);
},
ready: function(fn) {