Skip to content
This repository
Browse code

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

  • Loading branch information...
commit a4ad50fbd3f03c8c00c21a63700cdc029f65b7b1 1 parent 27bda26
Jasper de Groot authored June 20, 2012

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

  1. 2  js/jquery.mobile.dialog.js
2  js/jquery.mobile.dialog.js
@@ -69,7 +69,7 @@ $.widget( "mobile.dialog", $.mobile.widget, {
69 69
 		})
70 70
 		.bind( "pagehide", function( e, ui ) {
71 71
 			self._isClosed = false;
72  
-			$( this ).find( "." + $.mobile.activeBtnClass ).removeClass( $.mobile.activeBtnClass );
  72
+			$( this ).find( "." + $.mobile.activeBtnClass ).not( ".ui-slider-bg" ).removeClass( $.mobile.activeBtnClass );
73 73
 		})
74 74
 		// Override the theme set by the page plugin on pageshow
75 75
 		.bind( "pagebeforeshow", function(){

0 notes on commit a4ad50f

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