This commit is contained in:
2023-10-05 19:38:56 +03:00
parent 70f6ccc0da
commit 63d3ffddd4
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
{% if last_block_routes == False %}
<div class="text-align-center w-68 f-r">
<button class="button-find-more-routes" id="25" onclick="load_routes(this)">{% trans "Показать ещё 10" %}</button>
<button class="button-find-more-routes" id="{{ last_el }}" onclick="load_routes(this)">{% trans "Показать ещё 10" %}</button>
<div class="width-100 text-align-center mb-10">
<img class="loader_f_loading_routes" src="{% static "img/svg/loader.svg" %}">
</div>

View File

@@ -38,7 +38,7 @@
{% if last_block == False %}
<div class="text-align-center w-68 f-r">
{% csrf_token %}
<button class="button-find-more-routes" id="25" onclick="load_routes(this,'news')">{% trans "Показать ещё 10" %}</button>
<button class="button-find-more-routes" id="{{ last_el }}" onclick="load_routes(this,'news')">{% trans "Показать ещё 10" %}</button>
<div class="width-100 text-align-center mb-10">
<img class="loader_f_loading_routes" src="{% static "img/svg/loader.svg" %}">
</div>