Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #221 from stigtsp/master

Fix for "double-zoom" bug.
  • Loading branch information...
commit a8b8720296dc00015ddcc71f647ba7552a1d0bcf 2 parents e746a8d + a5fee00
@cubiq authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/iscroll.js
View
2  src/iscroll.js
@@ -258,6 +258,8 @@ iScroll.prototype = {
},
_pos: function (x, y) {
+ if (this.zoomed) return;
+
x = this.hScroll ? x : 0;
y = this.vScroll ? y : 0;
Please sign in to comment.
Something went wrong with that request. Please try again.