1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-25 18:51:42 +02:00

Stay on panel

This commit is contained in:
Barry vd. Heuvel
2024-03-20 14:20:59 +01:00
parent 03dc14a301
commit 2fb7a7567e
2 changed files with 0 additions and 6 deletions

View File

@@ -421,7 +421,6 @@ if (typeof(PhpDebugBar) == 'undefined') {
this.dataMap = {};
this.datasets = {};
this.firstTabName = null;
this.previousPanelName = null;
this.activePanelName = null;
this.activeDatasetId = null;
this.datesetTitleFormater = new DatasetTitleFormater(this);
@@ -786,7 +785,6 @@ if (typeof(PhpDebugBar) == 'undefined') {
this.controls[name].$tab.addClass(csscls('active'));
this.controls[name].$el.addClass(csscls('active'));
this.previousPanelName = this.activePanelName;
this.activePanelName = name;
this.$el.removeClass(csscls('minimized'));

View File

@@ -804,10 +804,6 @@ if (typeof(PhpDebugBar) == 'undefined') {
if ($(this).data('tab')) {
debugbar.showTab($(this).data('tab'));
} else if (debugbar.previousPanelName) {
debugbar.showTab(debugbar.previousPanelName);
} else {
debugbar.showTab(debugbar.firstTabName);
}
}