diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2015-03-28 17:40:44 +0000 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2015-03-28 17:40:44 +0000 |
| commit | ca542c9d5dda33ce17bdf2d04d16b047d9c6a401 (patch) | |
| tree | 0f2d55c80808847101492fe208473d0fa555bd15 /templates | |
| parent | ff2531a61ee1d27e1e0f8ece0642d19161267e08 (diff) | |
| parent | 37c5e4f8607efc100136acf8d48a76e8fbfc60fe (diff) | |
Merge pull request #13 from mgrabovsky/catalog-nojs
Make catalog look OK even with JS disabled
Diffstat (limited to 'templates')
| -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'])) |
