1(function ($) { 2 'use strict'; 3 4 function search_popup() { 5 6 var $button_search = $('.icon-search-popup'); 7 var $drop_down = $('.site-search-popup-wrap'); 8 $button_search.on('click', function (e) { 9 e.preventDefault(); 10 $('html').toggleClass('search-popup-active'); 11 }); 12 13 $('.site-search-popup-close').on('click', function (e) { 14 e.preventDefault(); 15 $('html').removeClass('search-popup-active'); 16 }); 17 18 $(document).mouseup(function (e) { 19 if (!$drop_down.is(e.target) && $drop_down.has(e.target).length == 0) { 20 $('html').removeClass('search-popup-active'); 21 } 22 }); 23 } 24 25 26 $(document).ready(function () { 27 search_popup(); 28 }); 29})(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.