mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 00:03:51 +08:00
Backport #27912 by @delvh This should be the easiest fix. While other solutions might be possible that exterminate the root cause, they will not be as trivial. Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
parent
81d233d987
commit
49f82ac4e3
|
@ -94,7 +94,7 @@ export default {
|
||||||
focusElem(elem, prevElem) {
|
focusElem(elem, prevElem) {
|
||||||
if (elem) {
|
if (elem) {
|
||||||
elem.tabIndex = 0;
|
elem.tabIndex = 0;
|
||||||
prevElem.tabIndex = -1;
|
if (prevElem) prevElem.tabIndex = -1;
|
||||||
elem.focus();
|
elem.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user