Permalink
Browse files

show button default state when mouse is out

  • Loading branch information...
1 parent 4f908be commit 0738c21f19593c7ac4190816ef0c3af547bc5fdb Wojciech Ryrych committed Sep 28, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 widget/lib/jquery.ui.rlightbox.js
@@ -427,7 +427,9 @@ $.extend($.ui.rlightbox, {
}
},
function() {
- $( this ).removeClass"ui-state-highlight" );
+ if ( $(this).is(":not(.ui-state-disabled)") ) {
+ self.setButtonState"default", $(this) );
+ }
}
);

0 comments on commit 0738c21

Please sign in to comment.