Skip to content

Node.js based forum software built for the modern web

fix: clear anchor text if empty

Barış Soner Uşaklı8bba604e2eba
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index 73622d0c27..7783bf7112 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -383,6 +383,7 @@ define('navigator', [
$(anchorEl).translateText(text);
} else {
anchorEl.setAttribute('tabindex', -1);
+ anchorEl.innerText = '';
}
}
const anchorHeight = anchorEl.getBoundingClientRect().height;