Use click_to_load preference

This commit is contained in:
Jason McBrayer 2018-10-09 13:11:20 -04:00
parent 2d0fd95d5f
commit 2dfcd61989
1 changed files with 2 additions and 0 deletions

View File

@ -39,11 +39,13 @@
<p class="column">
<a class="pagination-previous is-fullwidth button"
href="{% url 'home_next' next.max_id %}"
{% if preferences.click_to_load %}
ic-get-from="{% url 'home_next' next.max_id %}"
ic-select-from-response="#timeline"
ic-indicator="#page-load-indicator"
ic-target="closest div.around-pagination"
ic-push-url="true"
{% endif %}
>
Older
</a>