Skip to content

Commit a406cbd

Browse files
vyegresbarryvdh
authored andcommitted
Fix maximize-btn then 'phpdebugbar-tab' does't set. (php-debugbar#376)
1 parent 3f31153 commit a406cbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DebugBar/Resources/debugbar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
825825
var tab = localStorage.getItem('phpdebugbar-tab');
826826
if (this.isTab(tab)) {
827827
this.showTab(tab);
828+
} else {
829+
this.showTab();
828830
}
829831
this.$el.removeClass(csscls('closed'));
830832
this.resize();

0 commit comments

Comments
 (0)