1function buttonUp() { 2 var e = $(".search .searchInputContainer input").val(); 3 ((e = $.trim(e).length), 4 0 !== e 5 ? $(".search").css("overflow", "visible") 6 : ($(".search .searchInputContainer input").val(""), 7 $(".search-toggle-icon").css("display", "block"), 8 $(".search").css("overflow", "hidden")), 9 $(".search .searchInputContainer a.dnnSearchBoxClearText").click( 10 function () { 11 $(".search .searchInputContainer a.dnnSearchBoxClearText").hasClass( 12 "dnnShow", 13 ) 14 ? $(this).css("overflow", "visible") 15 : $(".search").css("overflow", "hidden"); 16 }, 17 )); 18} 19$(document).ready(function () { 20 ($(".navbar-nav.sm-collapsible .caret").click(function (e) { 21 e.preventDefault(); 22 }), 23 $('[data-toggle="tooltip"]').length && 24 $('[data-toggle="tooltip"]').tooltip(), 25 $('<span class="search-toggle-icon"></span>').insertAfter( 26 ".search a.SearchButton", 27 )); 28 var searchBox = $(".search"), 29 searchToggleIcon = $(".search-toggle-icon"), 30 clearSearchBox = $(".search .searchInputContainer a.dnnSearchBoxClearText"), 31 searchInput = $(".search .searchInputContainer input"), 32 searchActive = false; 33 (searchToggleIcon.click(function (event) { 34 event.stopPropagation(); 35 !searchActive 36 ? (searchBox.addClass("search-open"), 37 searchInput.focus(), 38 (searchActive = true)) 39 : (searchBox.removeClass("search-open"), 40 searchInput.focusout(), 41 searchInput.val(""), 42 clearSearchBox.removeClass("dnnShow"), 43 $(".search").css({ overflow: "hidden" }), 44 (searchActive = false)); 45 }), 46 searchBox.mouseup(function () { 47 return false; 48 }), 49 searchToggleIcon.mouseup(function () { 50 return false; 51 }), 52 $(document).click(function (event) { 53 if (!$(event.target).parents(".search").length) { 54 searchActive == true && searchToggleIcon.click(); 55 } 56 }), 57 searchInput.keyup(buttonUp), 58 $("a#search-action").click(function () { 59 $("#search-top").toggleClass("active"); 60 })); 61});
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.