Skip to content

Commit

Permalink
jquery event: closes #3498, adding $.fn.mouseenter & $.fn.mouseleave.
Browse files Browse the repository at this point in the history
  • Loading branch information
flesler committed Oct 21, 2008
1 parent b860c30 commit 69cbcf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event.js
Expand Up @@ -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){
Expand Down

0 comments on commit 69cbcf8

Please sign in to comment.