From: Benjamin Auder Date: Tue, 4 Dec 2018 16:32:36 +0000 (+0100) Subject: (Temporarily) Disable touch handling for smartphones X-Git-Url: https://git.auder.net/js/%7B%7B%20path%28%27mixstore_store_package_view%27%2C%20%7B%20id:%20newsItem.id%20%7D%29%20%7D%7D?a=commitdiff_plain;h=b204a262a8a87f41aea79d3d13e6b907bedbcec4;p=vchess.git (Temporarily) Disable touch handling for smartphones --- diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index 2a9a7018..04185a78 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -437,9 +437,9 @@ Vue.component('my-game', { mousedown: this.mousedown, mousemove: this.mousemove, mouseup: this.mouseup, - touchstart: this.mousedown, - touchmove: this.mousemove, - touchend: this.mouseup, +// touchstart: this.mousedown, //TODO... +// touchmove: this.mousemove, +// touchend: this.mouseup, }, }, elementArray