summaryrefslogtreecommitdiff
path: root/js/quick-reply.js
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-03-14 22:04:27 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-03-14 22:04:27 +1100
commit6d56e006007ce950b1211e627108367125f1ec78 (patch)
treeafa29abf88772dabe9da7b721d0ec72d30f731c2 /js/quick-reply.js
parent9daf12dccf19c772a4f40b3e65d9fa2b4f8888e9 (diff)
use "Submit" for submit button if appropriate
Diffstat (limited to 'js/quick-reply.js')
-rw-r--r--js/quick-reply.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index f0587cd9..0062cd1e 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -17,7 +17,7 @@ $(document).ready(function(){
return; // not index
txt_new_topic = $('form[name=post] input[type=submit]').val();
- txt_new_reply = 'New Reply';
+ txt_new_reply = txt_new_topic == 'Submit' ? txt_new_topic : 'New Reply';
undo_quick_reply = function() {
$('div.banner').remove();