PageSourceSearch

https://zhivica.pro/local/templates/.default/components/aspro/regi…/popup_regions_small/script.js

js zhivica.pro collected 2026-10-07 01:32:30 UTC 1,114 bytes, 35 lines download raw bytes

1$(document).ready(function(){
2	$('.confirm_region .aprove').on('click', function(e){
3		var _this = $(this);
4		$.removeCookie('current_region');
5		$.cookie('current_region', _this.data('id'), {path: '/',domain: arMaxOptions['SITE_ADDRESS']});
6
7		$('.confirm_region').remove();
8		if(typeof _this.data('href') !== 'undefined')
9			location.href = _this.data('href');
10	})
11
12	$(document).on('click', '.confirm_region .close', function(){
13		var _this = $(this);
14		$.removeCookie('current_region');
15		$.cookie('current_region', _this.data('id'), {path: '/',domain: arMaxOptions['SITE_ADDRESS']});
16		$('.confirm_region').remove();
17		$('.top_mobile_region .confirm_wrapper').remove();
18	});
19	
20	$('.js_city_change').on('click', function(){
21		var _this = $(this);
22		_this.closest('.region_wrapper').find('.js_city_chooser').trigger('click');
23		if(_this.closest('.top_mobile_region').length)
24		{
25			$('.burger').click();
26
27			$('.mobile_regions > ul > li > a').click()
28		}
29		$('.confirm_region').remove();
30	})
31	$(document).on('click', '.js_city_chooser', function(){
32		var _this = $(this);
33		$('.confirm_region').remove();
34	})
35});

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.