From 195c587dc05ada4545feba3703c6ed7be3b79c6f Mon Sep 17 00:00:00 2001 From: 8chan Admin Date: Sat, 5 Apr 2014 21:04:46 +0000 Subject: [PATCH] Catalog 8chan fixes --- js/catalog-link.js | 5 ++++- templates/themes/catalog/catalog.html | 13 ++++++------- templates/themes/catalog/info.php | 7 +++++++ templates/themes/catalog/theme.php | 11 +++++++++-- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/js/catalog-link.js b/js/catalog-link.js index ba53e8cf..66bd1d51 100644 --- a/js/catalog-link.js +++ b/js/catalog-link.js @@ -53,4 +53,7 @@ if (subtitle) { } } } -$(document).ready(catalog); + +if (!parseInt($('input[name="mod"]').val())) { + $(document).ready(catalog); +} diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 7b8c075a..aaa287f6 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -2,11 +2,8 @@ - - {{ settings.title }} - + {% include "header.html" %} - {% if config.url_favicon %}{% endif %} {{ boardlist.top }} @@ -18,9 +15,11 @@