summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatěj Grabovský <mgrabovsky@yahoo.com>2015-03-27 22:37:42 +0100
committerMatěj Grabovský <mgrabovsky@yahoo.com>2015-03-27 22:37:42 +0100
commit37c5e4f8607efc100136acf8d48a76e8fbfc60fe (patch)
tree0f2d55c80808847101492fe208473d0fa555bd15 /templates
parentff2531a61ee1d27e1e0f8ece0642d19161267e08 (diff)
Make catalog look OK even with JS disabled
For some reason, threads in the catalog were laid out by a jQuery plug-in. This is now removed and the layout is created purely by handcrafted CSS code.
Diffstat (limited to 'templates')
-rw-r--r--templates/themes/catalog/catalog.html3
-rw-r--r--templates/themes/catalog/theme.php2
2 files changed, 2 insertions, 3 deletions
diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html
index 12b3cd98..772fa918 100644
--- a/templates/themes/catalog/catalog.html
+++ b/templates/themes/catalog/catalog.html
@@ -45,8 +45,7 @@
<div class="threads">
<ul id="Grid">
{% for post in recent_posts %}
- <li class="mix"
- data-reply="{{ post.reply_count }}"
+ <li data-reply="{{ post.reply_count }}"
data-bump="{{ post.bump }}"
data-time="{{ post.time }}"
>
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php
index 357870e4..32bf93b7 100644
--- a/templates/themes/catalog/theme.php
+++ b/templates/themes/catalog/theme.php
@@ -77,7 +77,7 @@
$recent_posts[] = $post;
}
- $required_scripts = array('js/jquery.min.js', 'js/jquery.mixitup.min.js', 'js/catalog.js');
+ $required_scripts = array('js/jquery.min.js', 'js/catalog.js');
foreach($required_scripts as $i => $s) {
if (!in_array($s, $config['additional_javascript']))