소스 검색

Faster long-press

Robin Linus 9 년 전
부모
커밋
184eda47e3
1개의 변경된 파일1개의 추가작업 그리고 12개의 파일을 삭제
  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>