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/doc/%7B%7B%20asset%28%27mixstore/current/img/common.css?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