Focusing the tab seems to have improved the reliability of the click happening.

This commit is contained in:
2025-02-04 13:06:52 -05:00
parent a204f7fc98
commit d5cbcb5807
6 changed files with 16 additions and 107 deletions

View File

@@ -3290,6 +3290,7 @@ function init() {
if (document.location.hash != "" && document.location.hash.substring(0, 5) == "#tab-") {
waitForElement(document.location.hash).then(function (el) {
el.scrollIntoView();
el.focus();
el.dispatchEvent(click);
});
}