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," +
|
||||
"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){
|
||||
|
|
Loading…
Reference in a new issue