mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 20:25:06 +01:00
scroll to top on tab change in popups
This commit is contained in:
parent
d892b3526e
commit
0cfdf15cfa
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue