Focusing the tab seems to have improved the reliability of the click happening.
This commit is contained in:
1
public/assets/scaffolding-min.js
vendored
1
public/assets/scaffolding-min.js
vendored
@@ -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);
|
||||
});
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user