summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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');