1(function($) 2{ 3 "use strict"; 4 5 $(document).ready(function() 6 { 7 $('select.scrolling-nav').on('change', function() { 8 console.log($(this).data('link')); 9 console.log($(this).data('linktarget')); 10 var btn = $('.scrolling-nav-button'), 11 selected = $(this).find(":selected"); 12 13 btn.attr('href', selected.data('link')); 14 if (selected.data('linktarget') == '_blank') { 15 btn.attr('target', '_blank'); 16 } else { 17 btn.attr('target', '_self'); 18 } 19 }); 20 }); 21 22 23 24}(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.