mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2025-01-08 20:03:57 +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 () {
|
initVisibility: function () {
|
||||||
function toggleTabsVisibility(tab, tabGroup) {
|
function toggleTabsVisibility(tab, tabGroup) {
|
||||||
let visibilityThreshold = this.options.visibilityThreshold;
|
var visibilityThreshold = this.options.visibilityThreshold;
|
||||||
let el = tabGroup.tabContainer.parentNode;
|
var el = tabGroup.tabContainer.parentNode;
|
||||||
if (this.tabs.length >= visibilityThreshold) {
|
if (this.tabs.length >= visibilityThreshold) {
|
||||||
el.classList.add("visible");
|
el.classList.add("visible");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue