jquery event: extra for #3498. Using the new mouse(enter|leave) shortcuts in $.fn.hover.
This commit is contained in:
parent
69cbcf8637
commit
ad54d14ae5
|
@ -467,7 +467,7 @@ jQuery.fn.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
hover: function(fnOver, fnOut) {
|
hover: function(fnOver, fnOut) {
|
||||||
return this.bind('mouseenter', fnOver).bind('mouseleave', fnOut);
|
return this.mouseenter(fnOver).mouseleave(fnOut);
|
||||||
},
|
},
|
||||||
|
|
||||||
ready: function(fn) {
|
ready: function(fn) {
|
||||||
|
|
Loading…
Reference in a new issue