aboutsummaryrefslogtreecommitdiffhomepage
path: root/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings.js')
-rw-r--r--settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.js b/settings.js
index 7fc0631..db0cd4c 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 if (!localStorage.getItem("custom_mod_message")) {
+ else {
if (event)
event.target.value = mod_message_default;
localStorage.setItem("custom_mod_message", mod_message_default);