diff options
| author | Matěj Grabovský <mgrabovsky@yahoo.com> | 2015-03-27 22:37:42 +0100 |
|---|---|---|
| committer | Matěj Grabovský <mgrabovsky@yahoo.com> | 2015-03-27 22:37:42 +0100 |
| commit | 37c5e4f8607efc100136acf8d48a76e8fbfc60fe (patch) | |
| tree | 0f2d55c80808847101492fe208473d0fa555bd15 /templates/themes/catalog | |
| parent | ff2531a61ee1d27e1e0f8ece0642d19161267e08 (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/themes/catalog')
| -rw-r--r-- | templates/themes/catalog/catalog.html | 3 | ||||
| -rw-r--r-- | templates/themes/catalog/theme.php | 2 |
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'])) |
