}
// Handle multiple events separated by a space
- // jQuery(...).bind("mouseover mouseout", fn);
types = ( types || "" ).match( core_rnotwhite ) || [""];
for ( ; t < types.length; t++ ) {
for ( cur = event.target; cur != this; cur = cur.parentNode || this ) {
- // Don't process clicks (ONLY) on disabled elements (#6911, #8165, #11382, #11764)
+ // Ignore clicks (ONLY) on disabled elements (#6911, #8165, #11382, #11764)
if ( cur.disabled !== true || event.type !== "click" ) {
selMatch = {};
matches = [];
beforeunload: {
postDispatch: function( event ) {
- // Even when returnValue equals to undefined Firefox will still show alert
+ // Support: Firefox 10+
if ( event.result !== undefined ) {
event.originalEvent.returnValue = event.result;
}
};
// Create mouseenter/leave events using mouseover/out and event-time checks
+// Support: Chrome 15+
jQuery.each({
mouseenter: "mouseover",
mouseleave: "mouseout"
});
// Create "bubbling" focus and blur events
+// Support: Firefox 10+
if ( !jQuery.support.focusinBubbles ) {
jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {