1(function($) { 2 $(function(){ 3 const cBtn = 'data-js_telmodalbtn'; 4 const vBtn = $('[' + cBtn + ']'); 5 const cTarget = 'data-js_telmodaltarget'; 6 const vTarget = $('[' + cTarget + ']'); 7 const cClose = 'data-js_telmodalclose'; 8 const vClose = $('[' + cClose + ']'); 9 //////////// 10 const cClass = 'is-current'; 11 12 $(vBtn).click(function() { 13 if($(this).hasClass(cClass)){ 14 $(this).removeClass(cClass); 15 $(vTarget).removeClass(cClass); 16 }else{ 17 $(this).addClass(cClass); 18 $(vTarget).addClass(cClass); 19 } 20 }); 21 $(vClose).click(function() { 22 $(vBtn).removeClass(cClass); 23 $(vTarget).removeClass(cClass); 24 }) 25 }); 26})(jQuery);
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.