diff options
Diffstat (limited to 'zalmy.js')
-rw-r--r-- | zalmy.js | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -100,7 +100,7 @@ var Psalm = (function () { * jump to today. */ Psalm.prototype.handle_move = function (distX, distY) { - var negligible = 50; + var negligible = 100; console.log('distX = ' + distX); console.log('distY = ' + distY); @@ -110,9 +110,6 @@ var Psalm = (function () { } else if (distX > negligible) { console.log("swipe right"); this.prev_psalm(); - } else if (Math.abs(distY) > negligible) { - console.log("jump to today!"); - this.display(); } }; |