From a406cbded332d0227ac1d96ecb48e37d6a2cf272 Mon Sep 17 00:00:00 2001 From: Sergey Date: Mon, 16 Apr 2018 22:36:50 +0300 Subject: [PATCH] Fix maximize-btn then 'phpdebugbar-tab' does't set. (#376) --- src/DebugBar/Resources/debugbar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DebugBar/Resources/debugbar.js b/src/DebugBar/Resources/debugbar.js index f00b728..1b95c71 100644 --- a/src/DebugBar/Resources/debugbar.js +++ b/src/DebugBar/Resources/debugbar.js @@ -825,6 +825,8 @@ if (typeof(PhpDebugBar) == 'undefined') { var tab = localStorage.getItem('phpdebugbar-tab'); if (this.isTab(tab)) { this.showTab(tab); + } else { + this.showTab(); } this.$el.removeClass(csscls('closed')); this.resize();