1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Help page: Hide incomplete translation note when fully translated

This commit is contained in:
nobody
2021-04-25 07:06:18 +02:00
parent 59690048ef
commit 2abf36017e
2 changed files with 7 additions and 1 deletions

View File

@@ -32,7 +32,9 @@ help._onDocumentLoaded = function () {
help._languageSupported = helpers.languageIsFullySupported(language);
help._scriptDirection = helpers.determineScriptDirection(language);
helpers.insertI18nContentIntoDocument(document);
if (!helpers.insertI18nContentIntoDocument(document)) {
document.getElementById('notice-locale').style.display = 'block';
}
};