From fcb1b32cf9dee1abc1a17a70c144c1abe553890c Mon Sep 17 00:00:00 2001 From: chinpei215 Date: Wed, 18 Apr 2018 00:02:58 +0900 Subject: [PATCH] Fix restoreCurrentState not working --- webroot/js/js_debug_toolbar.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webroot/js/js_debug_toolbar.js b/webroot/js/js_debug_toolbar.js index 0c9d2b30e..dfa245cdf 100644 --- a/webroot/js/js_debug_toolbar.js +++ b/webroot/js/js_debug_toolbar.js @@ -835,11 +835,9 @@ DEBUGKIT.historyPanel = function () { // Private method to handle restoration to current request. var restoreCurrentState = function () { - var id, i, panelContent, tag; - historyLinks.removeClass('loading'); - $.each(toolbar.panels, function (panel, id) { + $.each(toolbar.panels, function (i, panel) { if (panel.content === undefined) { return; }