use "Submit" for submit button if appropriate

This commit is contained in:
Michael Save 2012-03-14 22:04:27 +11:00
parent 9daf12dccf
commit 6d56e00600

View File

@ -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();