Don't focus on notable trait parent when hiding it
This commit is contained in:
parent
7c75fe4c85
commit
b8a5b02102
@ -910,7 +910,6 @@ function loadCss(cssUrl) {
|
|||||||
function hideNotable() {
|
function hideNotable() {
|
||||||
if (window.CURRENT_NOTABLE_ELEMENT) {
|
if (window.CURRENT_NOTABLE_ELEMENT) {
|
||||||
if (window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE) {
|
if (window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE) {
|
||||||
window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.focus();
|
|
||||||
window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE = false;
|
window.CURRENT_NOTABLE_ELEMENT.NOTABLE_BASE.NOTABLE_FORCE_VISIBLE = false;
|
||||||
}
|
}
|
||||||
const body = document.getElementsByTagName("body")[0];
|
const body = document.getElementsByTagName("body")[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user