1document.addEventListener("DOMContentLoaded", function(event){ 2 (function($) { // $ is not defined 3 4 $('.tpl__navigation__menubuttontext').click(function () { 5 $(".tpl__navigation__menubutton").trigger('click'); 6 }); 7 8 $(window).scroll(function() { 9 var target = $('html,body').offset().top; 10 if($(document).scrollTop() > target) { 11 $('.tpl__navigation').addClass('tpl__navigation--scrolled'); 12 } 13 else { 14 $('.tpl__navigation').removeClass('tpl__navigation--scrolled'); 15 } 16 }); 17 18 //Esc-Key 19 $(document).on('keyup', function (event) { 20 if (event.which === 27) { 21 if ($('.tpl__navigation--active').length > 0) { 22 $('.tpl__navigation__menubutton--active').click(); 23 } 24 } 25 }); 26 27 })(jQuery); 28});
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.