summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-09-15 20:32:49 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-09-15 20:32:49 +1000
commit4ef2caecc17b425abfeee3841450b5ff30cc3436 (patch)
tree4e7e12e1a844236324450d28f75c0686dcd8287a /templates
parentcabf49f0766ae20d035d36efd4f747a5cc7790db (diff)
Removed $config[force_body]. Made threads without text possible.
Diffstat (limited to 'templates')
-rw-r--r--templates/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.js b/templates/main.js
index 4476e2ff..66d7d99d 100644
--- a/templates/main.js
+++ b/templates/main.js
@@ -50,7 +50,7 @@ function dopost(form) {
saved[document.location] = form.body.value;
sessionStorage.body = JSON.stringify(saved);
- return form.body.value != "" || (typeof form.thread != "undefined" && form.file.value != "");
+ return form.body.value != "" || form.file.value != "";
}
function citeReply(id) {
body = document.getElementById('body');