diff --git a/bower.json b/bower.json index 0d5098f..575ffd4 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pri.jzoom2", - "version": "1.1.0", + "version": "1.1.1", "description": "Pinch-to-zoom Class", "main": "jZoom2.js", "authors": [ diff --git a/jZoom2.js b/jZoom2.js index 5007cc4..7d1c7a3 100644 --- a/jZoom2.js +++ b/jZoom2.js @@ -303,8 +303,6 @@ class jZoom2 { position = this.$container.offset().top - $(window).scrollTop(); } - console.log("cjhec", position); - if(this.touchState.height > $(window).height()) { this.disabled = !(position < 0); diff --git a/jzoom2.es5.js b/jzoom2.es5.js index 5fb67b8..9d84427 100644 --- a/jzoom2.es5.js +++ b/jzoom2.es5.js @@ -221,8 +221,6 @@ var jZoom2 = function () { position = this.$container.offset().top - $(window).scrollTop(); } - console.log("cjhec", position); - if (this.touchState.height > $(window).height()) { this.disabled = !(position < 0); diff --git a/package.json b/package.json index 3c14a0a..ca85bf1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pri.jzoom2", - "version": "1.1.0", + "version": "1.1.1", "description": "Pinch-to-zoom Class", "main": "jZoom2.js", "scripts": {