fixed bug that broke scrolling in previous commit
This commit is contained in:
parent
b5023757af
commit
fb745664fc
|
@ -294,7 +294,7 @@ ViewNavigator.prototype.resetScroller = function() {
|
|||
if ( !this.winPhone ) {
|
||||
if ( id && !(currentViewDescriptor && currentViewDescriptor.scroll == false)) {
|
||||
var self = this;
|
||||
if ( this.touchEnabled ){
|
||||
if ( 'ontouchstart' in window ){
|
||||
setTimeout( function() {
|
||||
|
||||
//use this to mantain scroll position when scroller is destroyed
|
||||
|
|
Loading…
Reference in New Issue