From: Benjamin Auder Date: Tue, 4 Dec 2018 15:46:16 +0000 (+0100) Subject: Attempt to handle smartphone drag and drop X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/css/doc/screen_timer.png?a=commitdiff_plain;h=9106c77bf4f1d56ad855d4ffbb93f945065d7fac;p=vchess.git Attempt to handle smartphone drag and drop --- diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index 308d415e..84976b0c 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, - touchdown: this.mousedown, + touchstart: this.mousedown, touchmove: this.mousemove, - touchup: this.mouseup, + touchend: this.mouseup, }, }, elementArray