summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/web/bug_modal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 87d173680..c96267e14 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -736,6 +736,9 @@ $(function() {
.keydown(function(event) {
if (!(event.ctrlKey || event.metaKey))
return;
+ // don't conflict with text input shortcut
+ if (document.activeElement.nodeNode == 'INPUT' || document.activeElement.nodeName == 'TEXTAREA')
+ return;
if (String.fromCharCode(event.which).toLowerCase() == 'e') {
if ($('#cancel-btn:visible').length == 0) {
event.preventDefault();