mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
Fix no board_name on catalog causing weird bugs with filter/other problems
This commit is contained in:
parent
2a45e5f684
commit
a4312e7d16
@ -13,7 +13,6 @@
|
||||
var inMod = {% if mod %}true{% else %}false{% endif %};
|
||||
var modRoot="{{ config.root }}"+(inMod ? "mod.php?/" : "");
|
||||
var max_images={{ config.max_images }};
|
||||
var board_name="{{ board.uri }}";
|
||||
{% raw %}
|
||||
var styles = {
|
||||
{% endraw %}
|
||||
|
@ -4,11 +4,12 @@
|
||||
<meta charset="utf-8">
|
||||
|
||||
<script type="text/javascript">
|
||||
{% if not no_post_form %}
|
||||
var active_page = "index";
|
||||
{% else %}
|
||||
var active_page = "ukko";
|
||||
{% endif %}
|
||||
{% if not no_post_form %}
|
||||
var active_page = "index";
|
||||
{% else %}
|
||||
var active_page = "ukko";
|
||||
{% endif %}
|
||||
var board_name="{{ board.uri }}";
|
||||
</script>
|
||||
|
||||
{% include 'header.html' %}
|
||||
|
@ -5,6 +5,7 @@
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<script type='text/javascript'>
|
||||
active_page = "catalog";
|
||||
board_name = "{{ board }}";
|
||||
</script>
|
||||
{% include 'header.html' %}
|
||||
<title>{{ board }} - Catalog</title>
|
||||
|
@ -4,7 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
|
||||
<script type="text/javascript">
|
||||
var active_page = "thread";
|
||||
var active_page = "thread";
|
||||
var board_name="{{ board.uri }}";
|
||||
</script>
|
||||
|
||||
{% include 'header.html' %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user