forked from leftypol/leftypol
Bring mixitup.js back
Turns out it's essential for sorting
This commit is contained in:
parent
ca542c9d5d
commit
3e53a9e4e6
4 changed files with 47 additions and 2 deletions
|
@ -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 }}"
|
||||
>
|
||||
|
|
|
@ -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']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue