1
0
mirror of https://github.com/moparisthebest/app-UI synced 2024-12-22 07:28:58 -05:00

fixed bug that broke scrolling in previous commit

This commit is contained in:
Andrew Trice 2012-05-29 21:50:36 -04:00
parent b5023757af
commit fb745664fc

View File

@ -294,7 +294,7 @@ ViewNavigator.prototype.resetScroller = function() {
if ( !this.winPhone ) { if ( !this.winPhone ) {
if ( id && !(currentViewDescriptor && currentViewDescriptor.scroll == false)) { if ( id && !(currentViewDescriptor && currentViewDescriptor.scroll == false)) {
var self = this; var self = this;
if ( this.touchEnabled ){ if ( 'ontouchstart' in window ){
setTimeout( function() { setTimeout( function() {
//use this to mantain scroll position when scroller is destroyed //use this to mantain scroll position when scroller is destroyed