Revert change.
This commit is contained in:
@@ -445,11 +445,9 @@ function GenerateTabGroup(tabData) {
|
|||||||
});
|
});
|
||||||
tabContents.forEach((tabContent) => {
|
tabContents.forEach((tabContent) => {
|
||||||
if (name === tabContent.getAttribute("data-name")) {
|
if (name === tabContent.getAttribute("data-name")) {
|
||||||
tabContent.scrollTop = tabContent.dataset["scrollTop"] ?? 0;
|
|
||||||
tabContent.style.display = "";
|
tabContent.style.display = "";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
tabContent.dataset["scrollTop"] = tabContent.scrollTop;
|
|
||||||
tabContent.style.display = "none";
|
tabContent.style.display = "none";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user