Skip to content

Node.js based forum software built for the modern web

removed dupe body

barisusakli0f19578523e9
diff --git a/public/src/forum/admin/settings.js b/public/src/forum/admin/settings.js
index 5e51caac8f..e2bc631084 100644
--- a/public/src/forum/admin/settings.js
+++ b/public/src/forum/admin/settings.js
@@ -111,9 +111,7 @@ define(['uploader'], function(uploader) {
value = field.prop('checked') ? '1' : '0';
break;
}
- } else if (field.is('textarea')) {
- value = field.val();
- } else if (field.is('select')) {
+ } else if (field.is('textarea') || field.is('select')) {
value = field.val();
}
@@ -144,7 +142,7 @@ define(['uploader'], function(uploader) {
});
});
- };
+ }
return Settings;
});
\ No newline at end of file