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

Just code style (JS)

This commit is contained in:
nobody
2021-02-17 07:01:08 +01:00
parent 25a8a0499c
commit db398fadec
26 changed files with 572 additions and 226 deletions

View File

@ -14,12 +14,18 @@
'use strict';
/**
* Help
*/
var help = {};
/**
* Private Methods
*/
help._onDocumentLoaded = function () {
let language = navigator.language;
@ -29,4 +35,9 @@ help._onDocumentLoaded = function () {
helpers.insertI18nContentIntoDocument(document);
};
/**
* Initializations
*/
document.addEventListener('DOMContentLoaded', help._onDocumentLoaded);