From 4ef2caecc17b425abfeee3841450b5ff30cc3436 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 15 Sep 2011 20:32:49 +1000 Subject: Removed $config[force_body]. Made threads without text possible. --- templates/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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'); -- cgit v1.3