Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
Update compact-custom-header.js
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar authored Nov 1, 2019
1 parent 4ae2f55 commit 68a6e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compact-custom-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ class CompactCustomHeader {
// Set the tab config source.
if (!hidden_tabs && shown_tabs) {
let all_tabs = [];
shown_tabs = buildRanges(shown_tabs);
shown_tabs = this.buildRanges(shown_tabs);
for (let i = 0; i < tabs.length; i++) all_tabs.push(i);
// Invert shown_tabs to hidden_tabs.
hidden_tabs = all_tabs.filter(el => !shown_tabs.includes(el));
Expand Down

0 comments on commit 68a6e20

Please sign in to comment.