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

Commit

Permalink
Panel: Remove inline height from .ui-panel-dismiss on _closePanel
Browse files Browse the repository at this point in the history
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 Gabriel Schulhof committed Apr 11, 2014
1 parent 2f726f1 commit 0625b4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/widgets/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,9 @@ $.widget( "mobile.panel", {
}

if ( self._modal ) {
self._modal.removeClass( self._modalOpenClasses );
self._modal
.removeClass( self._modalOpenClasses )
.height( "" );
}
},
complete = function() {
Expand Down

0 comments on commit 0625b4b

Please sign in to comment.