]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1491850 - restoreSavedBugComment takes a really long time (100ms)
authorKohei Yoshino <kohei.yoshino@gmail.com>
Mon, 24 Sep 2018 21:23:17 +0000 (17:23 -0400)
committerDylan William Hardison <dylan@hardison.net>
Mon, 24 Sep 2018 21:23:17 +0000 (17:23 -0400)
extensions/BugModal/web/bug_modal.js

index 55451d3bf827ecc9ac532e91fbf15551a5e930d9..c15174c8bb22380663bfaee42b7f02938ab719c6 100644 (file)
@@ -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();
 });