Whitespace
This commit is contained in:
parent
44d64e356c
commit
d8f37f27f8
|
@ -14,7 +14,7 @@ function selectTab(name) {
|
||||||
.forEach(e => e.classList.remove("tab-down"));
|
.forEach(e => e.classList.remove("tab-down"));
|
||||||
Array.from(document.getElementsByClassName("tab-page"))
|
Array.from(document.getElementsByClassName("tab-page"))
|
||||||
.forEach(e => e.classList.remove("tab-page-selected"));
|
.forEach(e => e.classList.remove("tab-page-selected"));
|
||||||
// Select the new tab and content
|
// Select the new tab and content
|
||||||
tab.classList.add("tab-down");
|
tab.classList.add("tab-down");
|
||||||
let content = document.getElementById(name + "-page");
|
let content = document.getElementById(name + "-page");
|
||||||
content.classList.add("tab-page-selected");
|
content.classList.add("tab-page-selected");
|
||||||
|
|
Loading…
Reference in New Issue