aboutsummaryrefslogtreecommitdiff
path: root/typescript/mainloader.js
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-08-05 17:21:23 +0200
committerMinteck <nekostarfan@gmail.com>2021-08-05 17:21:23 +0200
commitd5a620cf09b835db2bccd99556525c90b458719f (patch)
tree1507f96be0413bd20026878890b0c1ad438e51d2 /typescript/mainloader.js
parent44210691ee8444509ac466a362337af77f2bcd49 (diff)
downloadkartik-client-d5a620cf09b835db2bccd99556525c90b458719f.tar.gz
kartik-client-d5a620cf09b835db2bccd99556525c90b458719f.tar.bz2
kartik-client-d5a620cf09b835db2bccd99556525c90b458719f.zip
i18n for 21.08
Diffstat (limited to 'typescript/mainloader.js')
-rw-r--r--typescript/mainloader.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/typescript/mainloader.js b/typescript/mainloader.js
index 6fee294..32c1144 100644
--- a/typescript/mainloader.js
+++ b/typescript/mainloader.js
@@ -1,10 +1,10 @@
-window.addEventListener("load", () => {
- files = require('@electron/remote').getCurrentWindow().modsfiles;
- global.HTML = window;
-
- for (file of files) {
- var script = document.createElement('script');
- script.src = "file://" + file.replaceAll("\\", "/");
- document.head.appendChild(script)
- }
+window.addEventListener("load", () => {
+ files = require('@electron/remote').getCurrentWindow().modsfiles;
+ global.HTML = window;
+
+ for (file of files) {
+ var script = document.createElement('script');
+ script.src = "file://" + file.replaceAll("\\", "/");
+ document.head.appendChild(script)
+ }
}) \ No newline at end of file