mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
resetting let to var
This commit is contained in:
parent
2b8e506f5a
commit
0d130bb212
4
index.js
4
index.js
|
@ -137,8 +137,8 @@ const TabGroupPrivate = {
|
|||
|
||||
initVisibility: function () {
|
||||
function toggleTabsVisibility(tab, tabGroup) {
|
||||
let visibilityThreshold = this.options.visibilityThreshold;
|
||||
let el = tabGroup.tabContainer.parentNode;
|
||||
var visibilityThreshold = this.options.visibilityThreshold;
|
||||
var el = tabGroup.tabContainer.parentNode;
|
||||
if (this.tabs.length >= visibilityThreshold) {
|
||||
el.classList.add("visible");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue