mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
Faster long-press
This commit is contained in:
parent
602e509f35
commit
184eda47e3
1 changed files with 1 additions and 12 deletions
|
@ -41,19 +41,8 @@ window.Chat = window.Chat || {};
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
ev.cancelBubble = true;
|
ev.cancelBubble = true;
|
||||||
return false;
|
return false;
|
||||||
}, 1100);
|
}, 800);
|
||||||
},
|
},
|
||||||
|
|
||||||
attached: function() {
|
|
||||||
// this.addEventListener('mousedown', function(e) {
|
|
||||||
// clearTimeout(this.pressTimer);
|
|
||||||
// }.bind(this), false);
|
|
||||||
// this.addEventListener('mousup', function(e) {
|
|
||||||
// this.pressTimer = window.setTimeout(function() {
|
|
||||||
// this.openTextDialog();
|
|
||||||
// }, 1500);
|
|
||||||
// }.bind(this), false);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}());
|
}());
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue