resetting let to var
This commit is contained in:
parent
2b8e506f5a
commit
0d130bb212
1 changed files with 2 additions and 2 deletions
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