PageSourceSearch

https://avanta-telecom.ru/local/templates/main/components/bitrix/s…/moreButton/script.js?1598888177966

js avanta-telecom.ru collected 2026-10-07 18:07:17 UTC 966 bytes, 26 lines download raw bytes

1$(document).ready(function(){	
2	$(document).on('click', '.moreButton__button', function(){
3		var targetContainer = $('.jsContent'),          //  Контейнер, в котором хранятся элементы
4			url =  $(this).attr('href');    //  URL, из которого будем брать элементы
5
6		if (url !== undefined) {
7			$.ajax({
8				type: 'GET',
9				url: url,
10				dataType: 'html',
11				success: function(data){
12					//  Удаляем старую навигацию
13					var moreButton = $('.moreButton'),
14						elements = $(data).find('.jsItem'),  //  Ищем элементы
15						pagination = $(data).find('.moreButton');//  Ищем навигацию
16
17					targetContainer.append(elements);   //  Добавляем посты в конец контейнера
18					pagination.insertAfter(moreButton); //  добавляем навигацию следом
19					moreButton.remove();
20				}
21			})
22		}
23
24		return false;
25	});
26});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.