Comparing version 0.4.4 to 0.4.5
@@ -279,3 +279,2 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
} | ||
e.preventDefault(); | ||
_this2.clearScrollbarTimer(); | ||
@@ -287,7 +286,10 @@ // reflow since the container may have changed | ||
var _options = this.options, | ||
preventDefaultOnTouchMove = _options.preventDefaultOnTouchMove, | ||
zooming = _options.zooming; | ||
var zooming = this.options.zooming; | ||
var preventDefaultOnTouchMove = this.options.preventDefaultOnTouchMove; | ||
if (preventDefaultOnTouchMove === undefined) { | ||
preventDefaultOnTouchMove = true; | ||
} | ||
if (preventDefaultOnTouchMove) { | ||
@@ -294,0 +296,0 @@ this.bindEvent(container, 'touchmove', function (e) { |
@@ -292,3 +292,2 @@ 'use strict'; | ||
} | ||
e.preventDefault(); | ||
_this2.clearScrollbarTimer(); | ||
@@ -300,7 +299,10 @@ // reflow since the container may have changed | ||
var _options = this.options, | ||
preventDefaultOnTouchMove = _options.preventDefaultOnTouchMove, | ||
zooming = _options.zooming; | ||
var zooming = this.options.zooming; | ||
var preventDefaultOnTouchMove = this.options.preventDefaultOnTouchMove; | ||
if (preventDefaultOnTouchMove === undefined) { | ||
preventDefaultOnTouchMove = true; | ||
} | ||
if (preventDefaultOnTouchMove) { | ||
@@ -307,0 +309,0 @@ this.bindEvent(container, 'touchmove', function (e) { |
{ | ||
"name": "zscroller", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "dom scroller based on zynga scroller", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
120880
2989