resetting let to var

This commit is contained in:
toddtarsi 2021-07-18 22:11:18 -05:00 committed by GitHub
parent 2b8e506f5a
commit 0d130bb212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {