Frontend: No long click when using select button

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-04-23 21:30:28 +02:00
parent a88c499b70
commit a18f2833a6
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@
this.wasLong = true;
},
onSelect(ev, model, index) {
if (this.wasLong || ev.shiftKey) {
if (ev.shiftKey) {
this.selectRange(index);
} else {
this.$clipboard.toggle(model);

View File

@ -102,7 +102,7 @@
this.wasLong = true;
},
onSelect(ev, model, index) {
if (this.wasLong || ev.shiftKey) {
if (ev.shiftKey) {
this.selectRange(index);
} else {
this.$clipboard.toggle(model);