Permalink
Browse files

Panel: no longer jump up on resize

should not scroll to top in just resize window

Fixes gh-7572
Closes gh-7674
  • Loading branch information...
shao1555 authored and gabrielschulhof committed Sep 17, 2014
1 parent 283fff5 commit 23294ef664747783623df471f5ba1442e2d9d674
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/panel.js
View
@@ -170,7 +170,7 @@ $.widget( "mobile.panel", {
self._unfixPanel();
$.mobile.resetActivePageHeight( panelInnerHeight );
}
if ( scrollToTop ) {
if ( scrollToTop === true ) {
this.window[ 0 ].scrollTo( 0, $.mobile.defaultHomeScroll );
}
} else {

0 comments on commit 23294ef

Please sign in to comment.