Fixes #59 by making quick-reply.js agnostic to the value of $config['button_reply'].

This commit is contained in:
lanc33 2013-05-29 19:16:37 -03:00
parent b9140f3c07
commit 0e490407e1
2 changed files with 6 additions and 1 deletions

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 = txt_new_topic == 'Submit' ? txt_new_topic : 'New Reply';
txt_new_reply = txt_new_topic == 'Submit' ? txt_new_topic : new_reply_string;
undo_quick_reply = function() {
$('div.banner').remove();