Merge pull request #110 from lanc33/master

Fixes #59
This commit is contained in:
Michael 2013-06-13 11:11:08 -07:00
commit a2c215d5d0
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();

View File

@ -10,6 +10,11 @@
{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
{% if not nojavascript %}
<script type="text/javascript" src="{{ config.url_javascript }}"></script>
{% if config.quick_reply %}
<script type="text/javascript">
var new_reply_string = "{{ config.button_reply }}";
</script>
{% endif %}
{% if not config.additional_javascript_compile %}
{% for javascript in config.additional_javascript %}<script type="text/javascript" src="{{ config.additional_javascript_url }}{{ javascript }}"></script>{% endfor %}
{% endif %}