From 6d56e006007ce950b1211e627108367125f1ec78 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Wed, 14 Mar 2012 22:04:27 +1100 Subject: [PATCH] use "Submit" for submit button if appropriate --- js/quick-reply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();