From 2912e337608ff52f68d9a8485cf3161d00d08db1 Mon Sep 17 00:00:00 2001 From: Strix Date: Tue, 25 Mar 2025 22:48:19 +0100 Subject: [PATCH] fix: typo --- public/res/locale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/res/locale.js b/public/res/locale.js index f52db0c..8499454 100644 --- a/public/res/locale.js +++ b/public/res/locale.js @@ -71,7 +71,7 @@ element.innerHTML = '###'; } }); - document.querySelectorAll('[data-i18n-show').forEach(el => el.removeAttribute('data-i18n-show')) + document.querySelectorAll('[data-i18n-show]').forEach(el => el.removeAttribute('data-i18n-show')) } window.locale = {