Skip to content

Commit

Permalink
Merge pull request #5554 from iRedds/fix/toolbar
Browse files Browse the repository at this point in the history
Fix: Toolbar. ciDebugBar.showTab() context.
  • Loading branch information
paulbalandan committed Jan 7, 2022
2 parents cb0b371 + e960545 commit a09f7d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Debug/Toolbar/Views/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ var ciDebugBar = {
var state = tab.style.display;

// Hide all tabs
var tabs = this.toolbar.querySelectorAll('.tab');
var tabs = document.querySelectorAll('#debug-bar .tab');

for (var i = 0; i < tabs.length; i++)
{
tabs[i].style.display = 'none';
}

// Mark all labels as inactive
var labels = this.toolbar.querySelectorAll('.ci-label');
var labels = document.querySelectorAll('#debug-bar .ci-label');

for (var i = 0; i < labels.length; i++)
{
Expand Down

0 comments on commit a09f7d9

Please sign in to comment.