Skip to content
This repository
Browse code

show button default state when mouse is out

  • Loading branch information...
commit 0738c21f19593c7ac4190816ef0c3af547bc5fdb 1 parent 4f908be
authored September 28, 2011

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  widget/lib/jquery.ui.rlightbox.js
4  widget/lib/jquery.ui.rlightbox.js
@@ -427,7 +427,9 @@ $.extend($.ui.rlightbox, {
427 427
 							}
428 428
 						},
429 429
 						function() {
430  
-							$( this ).removeClass( "ui-state-highlight" );
  430
+							if ( $(this).is(":not(.ui-state-disabled)") ) {
  431
+								self.setButtonState( "default", $(this) );								
  432
+							}
431 433
 						}
432 434
 					);		
433 435
 

0 notes on commit 0738c21

Please sign in to comment.
Something went wrong with that request. Please try again.