Fixed firefox paste

This commit is contained in:
Igor Zhukov 2014-01-31 13:06:49 +04:00
parent e75dc67948
commit 91d9bb661c
3 changed files with 2 additions and 6 deletions

View File

@ -34,7 +34,7 @@
<script type="text/javascript" src="vendor/console-polyfill/console-polyfill.js?1"></script> <script type="text/javascript" src="vendor/console-polyfill/console-polyfill.js?1"></script>
<script type="text/javascript" src="vendor/jquery/jquery.min.js"></script> <script type="text/javascript" src="vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="vendor/jquery.nanoscroller/nanoscroller.js"></script> <script type="text/javascript" src="vendor/jquery.nanoscroller/nanoscroller.js"></script>
<script type="text/javascript" src="vendor/jquery.emojiarea/jquery.emojiarea.js?1"></script> <script type="text/javascript" src="vendor/jquery.emojiarea/jquery.emojiarea.js?2"></script>
<script type="text/javascript" src="vendor/angular/angular.js?1"></script> <script type="text/javascript" src="vendor/angular/angular.js?1"></script>
<script type="text/javascript" src="vendor/angular/angular-route.js?1"></script> <script type="text/javascript" src="vendor/angular/angular-route.js?1"></script>

View File

@ -2040,10 +2040,6 @@ angular.module('myApp.services', [])
notificationsClear(); notificationsClear();
}; };
// console.log('notify', notification);
notification.show();
notificationsShown[key] = notification; notificationsShown[key] = notification;
}; };

View File

@ -287,7 +287,7 @@
}, 0); }, 0);
if (text.length) { if (text.length) {
document.execCommand('insertText', false, text); document.execCommand('insertText', false, text);
return cancelEvent(); return cancelEvent(e);
} }
return true; return true;
} }