Bug Tracker

Ticket #4234: jquery-1.3.2.js.patch

File jquery-1.3.2.js.patch, 327 bytes (added by micmath, 13 years ago)

Allow hover to accept a single argument.

  • jquery-1.3.2.

    old new  
    30953095        },
    30963096
    30973097        hover: function(fnOver, fnOut) {
    3098                 return this.mouseenter(fnOver).mouseleave(fnOut);
     3098                return this.mouseenter(fnOver).mouseleave(fnOut || fnOver);
    30993099        },
    31003100
    31013101        ready: function(fn) {