Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Fixes #3887 - Prevent slider fill to be removed when dialog is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Jun 20, 2012
1 parent 27bda26 commit a4ad50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down

0 comments on commit a4ad50f

Please sign in to comment.