1(function ($) { 2 "use strict"; 3 4 $(document).ready(function () { 5 var $icon = $('.wpus_front_list span.wpus_front_icon'); 6 var $img = $icon.find('img'); 7 var $title = $icon.find('span.wpus_front_title'); 8 var $list = $('.wpus_front_list ul'); 9 10 $(document).on('click', function (e) { 11 var t = $(e.target); 12 console.log(t[0]); 13 if (t[0] === $icon[0] || t[0] === $img[0] || t[0] === $title[0]) { 14 if ($list.hasClass('visible')) { 15 $list.removeClass('visible'); 16 } else { 17 $list.addClass('visible'); 18 } 19 console.log('inside'); 20 } else { 21 console.log('not inside'); 22 $list.removeClass('visible'); 23 } 24 }); 25 26 }); 27 /*End document ready*/ 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.