X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=8b570952de5cc36eac05eadf9d2e16c7e80354f0;hb=8e44d3a3982a536240ae576df0eafcc8a16f23c5;hp=8d7f7bd19bc73a1e4e2d94e7578ca8201cb2f641;hpb=6984dad66edfdb53742a6018ed18e2c178363c50;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 8d7f7bd1..8b570952 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -75,8 +75,6 @@ export default { 'class': { 'choice-piece': true }, on: { "click": e => { this.play(m); this.choices=[]; }, - // NOTE: add 'touchstart' event to fix a problem on smartphones - //"touchstart": e => { this.play(m); this.choices=[]; }, }, }) ] @@ -254,9 +252,9 @@ export default { mousedown: this.mousedown, mousemove: this.mousemove, mouseup: this.mouseup, - //touchstart: this.mousedown, +// touchstart: this.mousedown, touchmove: this.mousemove, - //touchend: this.mouseup, +// touchend: this.mouseup, }, }, elementArray