Skip to main content

Search and Top Navigation

Ticket #5295: jquery.ui.button.patch
File jquery.ui.button.patch, 0.6 KB (added by AzaToth, March 05, 2010 03:27PM UTC)
Index: ui/jquery.ui.button.js
===================================================================
--- ui/jquery.ui.button.js	(revision 3871)
+++ ui/jquery.ui.button.js	(working copy)
@@ -54,9 +54,6 @@
 				}
 			})
 			.bind( "mouseleave.button", function() {
-				if ( options.disabled ) {
-					return;
-				}
 				$( this ).removeClass( hoverClass );
 			})
 			.bind( "focus.button", function() {
@@ -118,9 +115,6 @@
 					});
 				})
 				.bind( "mouseup.button", function() {
-					if ( options.disabled ) {
-						return;
-					}
 					$( this ).removeClass( "ui-state-active" );
 				})
 				.bind( "keydown.button", function(event) {

Download in other formats:

Original Format