Skip to content
Browse files

Fixes #3887 - Prevent slider fill to be removed when dialog is hidden

  • Loading branch information...
1 parent 27bda26 commit a4ad50fbd3f03c8c00c21a63700cdc029f65b7b1 @jaspermdegroot jaspermdegroot committed Jun 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.dialog.js
View
2 js/jquery.mobile.dialog.js
@@ -69,7 +69,7 @@ $.widget( "mobile.dialog", $.mobile.widget, {
})
.bind( "pagehide", function( e, ui ) {
self._isClosed = false;
- $( this ).find( "." + $.mobile.activeBtnClass ).removeClass( $.mobile.activeBtnClass );
+ $( this ).find( "." + $.mobile.activeBtnClass ).not( ".ui-slider-bg" ).removeClass( $.mobile.activeBtnClass );
})
// Override the theme set by the page plugin on pageshow
.bind( "pagebeforeshow", function(){

0 comments on commit a4ad50f

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