Revert change.

This commit is contained in:
Christian Bastian
2024-07-26 21:18:18 -04:00
parent 31f7a492be
commit 0975f9713d

View File

@@ -445,11 +445,9 @@ function GenerateTabGroup(tabData) {
});
tabContents.forEach((tabContent) => {
if (name === tabContent.getAttribute("data-name")) {
tabContent.scrollTop = tabContent.dataset["scrollTop"] ?? 0;
tabContent.style.display = "";
}
else {
tabContent.dataset["scrollTop"] = tabContent.scrollTop;
tabContent.style.display = "none";
}
});