diff options
Diffstat (limited to 'lib/i18n.ts')
-rw-r--r-- | lib/i18n.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/i18n.ts b/lib/i18n.ts index 60da6644f..230bddd7d 100644 --- a/lib/i18n.ts +++ b/lib/i18n.ts @@ -16,6 +16,12 @@ "use strict"; +document.addEventListener( + "DOMContentLoaded", + function () { + document.body.lang = chrome.i18n.getUILanguage(); + }); + declare var i18n: any; const JedModule = window["Jed"]; |