Permalink
Browse files

Panel: Remove inline height from .ui-panel-dismiss on _closePanel

Not removing the height from .ui-panel-dismiss breaks the layout if the
page height is changed dynamically once the panel has open and closed
once.

Closes gh-7308
Closes gh-7313
Fixes gh-7312
  • Loading branch information...
devben authored and gabrielschulhof committed Apr 10, 2014
1 parent f2c2128 commit 6201c906c24d8d67b5dae029731926785c9cb357
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/widgets/panel.js
View
@@ -388,7 +388,9 @@ $.widget( "mobile.panel", {
}
if ( self._modal ) {
self._modal.removeClass( self._modalOpenClasses );
self._modal
.removeClass( self._modalOpenClasses )
.height( "" );
}
},
complete = function() {

0 comments on commit 6201c90

Please sign in to comment.