From 0d130bb212d2e78b3596356dafe55cb4ae59683f Mon Sep 17 00:00:00 2001 From: toddtarsi Date: Sun, 18 Jul 2021 22:11:18 -0500 Subject: [PATCH] resetting let to var --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 22b9e92..9e8d4e3 100644 --- a/index.js +++ b/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 {