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.

(cherry picked from commit 6201c90)

Closes gh-7308
Closes gh-7313
Fixes gh-7312
  • Loading branch information...
devben authored and gabrielschulhof committed Apr 10, 2014
1 parent 2f726f1 commit 0625b4bced428f803401d2048081ef03d2b09fdf
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 0625b4b

Please sign in to comment.