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