summaryrefslogtreecommitdiffstats
path: root/zalmy.js
diff options
context:
space:
mode:
Diffstat (limited to 'zalmy.js')
-rw-r--r--zalmy.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/zalmy.js b/zalmy.js
index 88e39de..7010267 100644
--- a/zalmy.js
+++ b/zalmy.js
@@ -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();
}
};