1;(function() { 2 'use strict'; 3 4 // Class className 5 function Footer() { 6 // set href to setLang btn 7 // var url = window.location.href 8 // if( url.includes('?lang=') ) { 9 // url = url.slice(0,-8); 10 // } 11 this.init(); 12 //console.log("AUTO_LANGUAGE",AUTO_LANGUAGE) 13 } 14 15 Footer.prototype.init = function() { 16 $('.js-setLang').on('change', function() { 17 window.location.href = $(this).val(); 18 }); 19 20 // same as footer-2.js 21 $('#js-footer-sitemap-list').find('>li.has_children').each(function() { 22 $(this).children(":first").after(`<div class="_footer_top__plus">ï¼</div>`); 23 }); 24 25 $(`._footer_top__plus`).bind('click', function(e) { 26 $(this).parent(`li`).toggleClass('_footer_sitemap__list--on').siblings().removeClass('_footer_sitemap__list--on'); 27 $(this).parent(`li`).find('>ul').slideToggle().parent().siblings().find('>ul').slideUp(); 28 29 // change icon 30 if( $(this).parent(`li._footer_sitemap__list--on`).length === 1 ){ 31 $(this).parents(`#js-footer-sitemap-list`).find('._footer_top__plus').each(function() { 32 $(this).html(`ï¼`); 33 }); 34 $(this).html('ï¼'); 35 }else{ 36 $(this).html(`ï¼`); 37 } 38 }); 39 // same as footer-2.js 40 }; 41 42 $(function() { 43 new Footer(); 44 }); 45})();
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.