aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com> 2021-05-14 22:17:01 +0200
committerMango0x45 <thomasvoss@live.com> 2021-05-14 22:17:01 +0200
commit4c3ce1073bd01688613db0b92139c044b2e97ced (patch)
treeff22aa75f639ecc247e6889903debb2e88b901c1
parent2af25e45f5efdee33d96268d6700ec7d2c3db061 (diff)
MORE BUG FIXES
-rw-r--r--settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.js b/settings.js
index db0cd4c..7fc0631 100644
--- a/settings.js
+++ b/settings.js
@@ -86,7 +86,7 @@ function set_mod_message(event)
{
if (event && event.target.value.replace(/\s/g, ""))
localStorage.setItem("custom_mod_message", event.target.value);
- else {
+ else if (!localStorage.getItem("custom_mod_message")) {
if (event)
event.target.value = mod_message_default;
localStorage.setItem("custom_mod_message", mod_message_default);