jquery event: closes #3498, adding $.fn.mouseenter & $.fn.mouseleave.
This commit is contained in:
parent
b860c30b82
commit
69cbcf8637
|
@ -578,8 +578,8 @@ function bindReady(){
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
|
jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
|
||||||
"mousedown,mouseup,mousemove,mouseover,mouseout,change,select," +
|
"mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave," +
|
||||||
"submit,keydown,keypress,keyup,error").split(","), function(i, name){
|
"change,select,submit,keydown,keypress,keyup,error").split(","), function(i, name){
|
||||||
|
|
||||||
// Handle event binding
|
// Handle event binding
|
||||||
jQuery.fn[name] = function(fn){
|
jQuery.fn[name] = function(fn){
|
||||||
|
|
Loading…
Reference in a new issue