diff --git a/static/js/dynamic_loading_routes.js b/static/js/dynamic_loading_routes.js index 8ad4720..bfe97a5 100644 --- a/static/js/dynamic_loading_routes.js +++ b/static/js/dynamic_loading_routes.js @@ -92,7 +92,7 @@ function load_routes (el,news=null,incrase) { iterator_f_check++ iterator_f_check++ if (data.last_block === true){ - el.classList.add("hide") + el.classList.add("hide") } else if (data.last_block === false){ if (el.classList.contains("hide")) { el.classList.remove("hide") diff --git a/templates/widgets/w_news_element_item.html b/templates/widgets/w_news_element_item.html index b3a07c9..59903bb 100644 --- a/templates/widgets/w_news_element_item.html +++ b/templates/widgets/w_news_element_item.html @@ -1,7 +1,7 @@ {% load static %} {% if not from_el or forloop.counter > from_el %} -
+