0.8.420
This commit is contained in:
@@ -3,16 +3,16 @@ standart_page_iterator = 1
|
||||
separator_iterator = 1
|
||||
iterator_f_check = 1
|
||||
|
||||
function load_routes (el,news=null) {
|
||||
function load_routes (el,news=null,incrase) {
|
||||
let local_page_iterator = standart_page_iterator
|
||||
if (!news){
|
||||
local_page_iterator = page_iterator
|
||||
}
|
||||
let number_last_route = el.id
|
||||
let incrase = 2
|
||||
if (!news){
|
||||
incrase = 10
|
||||
}
|
||||
// let incrase = 2
|
||||
// if (!news){
|
||||
// incrase = 10
|
||||
// }
|
||||
let data_d = {
|
||||
'from_el':parseInt(number_last_route),
|
||||
'to_el':parseInt(number_last_route) + incrase
|
||||
@@ -58,6 +58,10 @@ function load_routes (el,news=null) {
|
||||
//
|
||||
|
||||
//
|
||||
if (data.next_page_els_count){
|
||||
document.querySelector(".col_vo_els_f_load").innerHTML = data.next_page_els_count
|
||||
}
|
||||
|
||||
let place_ins_parent = el.closest(".block_w_paging")
|
||||
let place_ins = place_ins_parent.querySelector(`.page_paging_elements_${local_page_iterator}`)
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user