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