Frontend: No long click when using select button
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
a88c499b70
commit
a18f2833a6
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user