diff --git a/js/widgets/panel.js b/js/widgets/panel.js index 857a587a576..0e9e235d05d 100644 --- a/js/widgets/panel.js +++ b/js/widgets/panel.js @@ -172,18 +172,12 @@ $.widget( "mobile.panel", { self._unfixPanel(); $.mobile.resetActivePageHeight( panelInnerHeight ); } - self._scrollIntoView( panelInnerHeight ); + window.scrollTo( 0, $.mobile.defaultHomeScroll ); } else { self._fixPanel(); } }, - _scrollIntoView: function( panelInnerHeight ) { - if ( panelInnerHeight < $( window ).scrollTop() ) { - window.scrollTo( 0, 0 ); - } - }, - _bindFixListener: function() { this._on( $( window ), { "throttledresize": "_positionPanel" }); },