1$(document).ready(function(){ 2 let siteLanguage = $('html').attr('lang'); 3 switch (siteLanguage) { 4 case 'de': 5 $('#header .grid-middle-noBottom-noGutter a.lang.de').addClass('language-on'); 6 $('#header .grid-middle-noBottom-noGutter a.lang.en').addClass('language-off'); 7 break; 8 case 'en': 9 $('#header .grid-middle-noBottom-noGutter a.lang.en').addClass('language-on'); 10 $('#header .grid-middle-noBottom-noGutter a.lang.de').addClass('language-off'); 11 break; 12 } 13 switchLanguageButtonsOnOff(); 14}); 15 16$(window).resize(function() { 17 switchLanguageButtonsOnOff(); 18}); 19 20function switchLanguageButtonsOnOff() { 21 let windowWidth = $(window).width(); 22 if (windowWidth <= 768) { 23 $('.language-on').css('display','none'); 24 } else { 25 $('.language-on').css('display','inline-block'); 26 } 27}
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.