jquery event: closes #3498, adding $.fn.mouseenter & $.fn.mouseleave.

This commit is contained in:
Ariel Flesler 2008-10-21 01:49:11 +00:00
parent b860c30b82
commit 69cbcf8637

View file

@ -578,8 +578,8 @@ function bindReady(){
}
jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
"mousedown,mouseup,mousemove,mouseover,mouseout,change,select," +
"submit,keydown,keypress,keyup,error").split(","), function(i, name){
"mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave," +
"change,select,submit,keydown,keypress,keyup,error").split(","), function(i, name){
// Handle event binding
jQuery.fn[name] = function(fn){