scroll to top on tab change in popups

This commit is contained in:
wukko 2023-09-07 22:42:33 +06:00
parent d892b3526e
commit 0cfdf15cfa

View file

@ -133,6 +133,7 @@ function changeTab(evnt, tabId, tabClass) {
evnt.currentTarget.dataset.enabled = "true";
eid(tabId).dataset.enabled = "true";
eid(tabId).parentElement.scrollTop = 0;
if (tabId === "tab-about-changelog" && sGet("changelogStatus") !== `${version}`) notificationCheck("changelog");
if (tabId === "tab-about-about" && !sGet("seenAbout")) notificationCheck("about");