From: Kohei Yoshino Date: Mon, 24 Sep 2018 21:23:17 +0000 (-0400) Subject: Bug 1491850 - restoreSavedBugComment takes a really long time (100ms) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1d49e2e52ed971e50f7cfe37d70c38a46c5ff06;p=thirdparty%2Fbugzilla.git Bug 1491850 - restoreSavedBugComment takes a really long time (100ms) --- 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(); });