summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-09-24 23:23:17 +0200
committerDylan William Hardison <dylan@hardison.net>2018-09-24 23:23:17 +0200
commitf1d49e2e52ed971e50f7cfe37d70c38a46c5ff06 (patch)
tree3c1fb2747c69793e8e6ccdcc2d0ff42890671028
parent65aed407b07a5e8ef19ced43f958c14c046e6ed8 (diff)
downloadbugzilla-f1d49e2e52ed971e50f7cfe37d70c38a46c5ff06.tar.gz
bugzilla-f1d49e2e52ed971e50f7cfe37d70c38a46c5ff06.tar.xz
Bug 1491850 - restoreSavedBugComment takes a really long time (100ms)
-rw-r--r--extensions/BugModal/web/bug_modal.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 55451d3bf..c15174c8b 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -1323,7 +1323,6 @@ $(function() {
// finally switch to edit mode if we navigate back to a page that was editing
$(window).on('pageshow', restoreEditMode);
$(window).on('pageshow', restoreSavedBugComment);
- $(window).on('focus', restoreSavedBugComment);
restoreEditMode();
restoreSavedBugComment();
});