diff --git a/js/widgets/dialog.js b/js/widgets/dialog.js index db85e0559cf..7187351ff1e 100644 --- a/js/widgets/dialog.js +++ b/js/widgets/dialog.js @@ -59,9 +59,6 @@ $.widget( "mobile.dialog", $.mobile.widget, { $target.attr( "data-" + $.mobile.ns + "transition", ( active.transition || $.mobile.defaultDialogTransition ) ) .attr( "data-" + $.mobile.ns + "direction", "reverse" ); } - }) - .bind( "pagehide", function( e, ui ) { - $( this ).find( "." + $.mobile.activeBtnClass ).not( ".ui-slider-bg" ).removeClass( $.mobile.activeBtnClass ); }); this._on( $el, {