From a4312e7d16f0a1b3bcb6c93568a3774689b0176f Mon Sep 17 00:00:00 2001 From: 8chan Date: Tue, 21 Apr 2015 07:11:00 -0700 Subject: [PATCH] Fix no board_name on catalog causing weird bugs with filter/other problems --- templates/header.html | 1 - templates/index.html | 11 ++++++----- templates/themes/catalog/catalog.html | 1 + templates/thread.html | 3 ++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/templates/header.html b/templates/header.html index 228b8dc2..a92b6dbc 100644 --- a/templates/header.html +++ b/templates/header.html @@ -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 %} diff --git a/templates/index.html b/templates/index.html index c83e0eb8..87749bdc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,11 +4,12 @@ {% include 'header.html' %} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 0334d661..7060c4cd 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -5,6 +5,7 @@ {% include 'header.html' %} {{ board }} - Catalog diff --git a/templates/thread.html b/templates/thread.html index a40b903f..6ff6fa2c 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -4,7 +4,8 @@ {% include 'header.html' %}