snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit 184eda47e3eda2f166bb50299d792bde10ebdfde
parent 602e509f3514c0989b0e8af763bd01adef9f258a
Author: Robin Linus <robin_woll@capira.de>
Date:   Sun,  3 Jan 2016 03:07:10 +0100

Faster long-press

Diffstat:
Mapp/elements/text-sharing/text-input-behavior.html | 13+------------
1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/app/elements/text-sharing/text-input-behavior.html b/app/elements/text-sharing/text-input-behavior.html @@ -41,19 +41,8 @@ window.Chat = window.Chat || {}; ev.stopPropagation(); ev.cancelBubble = true; 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>