Ver Fonte

Faster long-press

Robin Linus há 9 anos atrás
pai
commit
184eda47e3
1 ficheiros alterados com 1 adições e 12 exclusões
  1. 1 12
      app/elements/text-sharing/text-input-behavior.html

+ 1 - 12
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>