Browse Source

Merge branch 'master' of https://github.com/savetheinternet/Tinyboard

Conflicts:
	templates/index.html
pull/40/head
czaks 11 years ago
parent
commit
e53481f93e
  1. 2
      js/quick-reply.js
  2. 9
      templates/index.html

2
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 = 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();

9
templates/index.html

@ -1,8 +1,15 @@
<!doctype html>
<html>
<head>
{% include 'header.html' %}
<meta charset="utf-8">
{% if config.quick_reply %}
<script type="text/javascript">
var new_reply_string = "{{ config.button_reply }}";
</script>
{% endif %}
{% include 'header.html' %}
<title>{{ board.url }} - {{ board.name }}</title>
</head>
<body>

Loading…
Cancel
Save