summaryrefslogtreecommitdiff
path: root/main.js
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 /main.js
parentcabf49f0766ae20d035d36efd4f747a5cc7790db (diff)
Removed $config[force_body]. Made threads without text possible.
Diffstat (limited to 'main.js')
-rw-r--r--main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.js b/main.js
index e0d0d6f4..d8fc0a47 100644
--- a/main.js
+++ b/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');