diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2015-03-31 14:21:36 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2015-03-31 14:21:36 +0100 |
| commit | 9d8bbc920511c651ddf481c6f3fbc3a68493634e (patch) | |
| tree | 935a4e44dfa83093b4dc149bd722067d6677f761 /templates | |
| parent | ca542c9d5dda33ce17bdf2d04d16b047d9c6a401 (diff) | |
| parent | 3e53a9e4e6e7e1b670b50ed759d0218c8b36bccb (diff) | |
Merge pull request #14 from mgrabovsky/catalog-fix
Bring mixitup.js back
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, 3 insertions, 2 deletions
diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 772fa918..12b3cd98 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -45,7 +45,8 @@ <div class="threads"> <ul id="Grid"> {% for post in recent_posts %} - <li data-reply="{{ post.reply_count }}" + <li class="mix" + 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 32bf93b7..357870e4 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/catalog.js'); + $required_scripts = array('js/jquery.min.js', 'js/jquery.mixitup.min.js', 'js/catalog.js'); foreach($required_scripts as $i => $s) { if (!in_array($s, $config['additional_javascript'])) |
