Skip to content
Browse files

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

  • Loading branch information...
1 parent 933e4d9 commit 29e865cce8587b40365febf99b9c2b4a8a59b9ab @jaspermdegroot jaspermdegroot committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/dialog.js
View
2 js/widgets/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 29e865c

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