Commit ad54d14a authored by Ariel Flesler's avatar Ariel Flesler

jquery event: extra for #3498. Using the new mouse(enter|leave) shortcuts in $.fn.hover.

parent 69cbcf86
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment