From 91d9bb661ca20761870f77bbc196a3e64ec16407 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 31 Jan 2014 13:06:49 +0400 Subject: [PATCH] Fixed firefox paste --- app/index.html | 2 +- app/js/services.js | 4 ---- app/vendor/jquery.emojiarea/jquery.emojiarea.js | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/index.html b/app/index.html index b5943c2e..839edd03 100644 --- a/app/index.html +++ b/app/index.html @@ -34,7 +34,7 @@ - + diff --git a/app/js/services.js b/app/js/services.js index af5e7444..3dd4bfe0 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -2040,10 +2040,6 @@ angular.module('myApp.services', []) notificationsClear(); }; - // console.log('notify', notification); - - notification.show(); - notificationsShown[key] = notification; }; diff --git a/app/vendor/jquery.emojiarea/jquery.emojiarea.js b/app/vendor/jquery.emojiarea/jquery.emojiarea.js index 5a176bbb..09f6802a 100644 --- a/app/vendor/jquery.emojiarea/jquery.emojiarea.js +++ b/app/vendor/jquery.emojiarea/jquery.emojiarea.js @@ -287,7 +287,7 @@ }, 0); if (text.length) { document.execCommand('insertText', false, text); - return cancelEvent(); + return cancelEvent(e); } return true; }