aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeCallwords.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom/changeCallwords.ts')
-rw-r--r--webAO/dom/changeCallwords.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/webAO/dom/changeCallwords.ts b/webAO/dom/changeCallwords.ts
index 28be674..e125817 100644
--- a/webAO/dom/changeCallwords.ts
+++ b/webAO/dom/changeCallwords.ts
@@ -1,13 +1,13 @@
-import { client } from '../client'
-import setCookie from '../utils/setCookie';
+import { client } from "../client";
+import setCookie from "../utils/setCookie";
/**
* Triggered by a changed callword list
*/
export function changeCallwords() {
- client.callwords = (<HTMLInputElement>(
- document.getElementById("client_callwords")
- )).value.split("\n");
- setCookie("callwords", client.callwords.join("\n"));
+ client.callwords = (<HTMLInputElement>(
+ document.getElementById("client_callwords")
+ )).value.split("\n");
+ setCookie("callwords", client.callwords.join("\n"));
}
-window.changeCallwords = changeCallwords; \ No newline at end of file
+window.changeCallwords = changeCallwords;