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.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/dom/changeCallwords.ts b/webAO/dom/changeCallwords.ts
index e125817..3777ce1 100644
--- a/webAO/dom/changeCallwords.ts
+++ b/webAO/dom/changeCallwords.ts
@@ -1,5 +1,4 @@
import { client } from "../client";
-import setCookie from "../utils/setCookie";
/**
* Triggered by a changed callword list
@@ -8,6 +7,6 @@ export function changeCallwords() {
client.callwords = (<HTMLInputElement>(
document.getElementById("client_callwords")
)).value.split("\n");
- setCookie("callwords", client.callwords.join("\n"));
+ localStorage.setItem("callwords", client.callwords.join("\n"));
}
window.changeCallwords = changeCallwords;