Infinite scroll fixed

This commit is contained in:
JoseluCross
2018-10-11 23:44:49 +02:00
parent 85365b4247
commit 18f58c4be8
2 changed files with 11 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
<div class="container-fluid">
<div class="row">
{% if page.last is empty %}
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12' style='text-align: center'>
<h3 id='end'>No more code to load</h3>
</div>
{% endif %}
{% for code in page.last %}
{% if loop.index0 is divisible by(2) %}
</div>