1// Collapse accordion 2if (jQuery("[data-uk-accordion]") && typeof UIkit.accordion === "function") { 3 UIkit.accordion(".lpb-accordion-mobile, .lpb-accordion-litland-filter, .lpb-accordion-litland-adminareas", { showfirst: false }); 4} 5 6jQuery(document).ready(function () { 7 8 // Re-position of autocomplete suggestions in offcanvas mode 9 jQuery("#mod-finder-searchword152").click(function () { 10 jQuery(".autocomplete-suggestions:last-child").css("margin-left", "-" + jQuery("body").css("margin-left")); 11 }); 12 13 // Joomla blog view accordion readmore 14 jQuery(".lpb-blog-view-readmore").click(function (e) { 15 e.preventDefault(); 16 jQuery(this).addClass("uk-active"); 17 jQuery(".lpb-blog-view-content").show(); 18 jQuery(".lpb-blog-view-content .uk-width-medium-2-3").addClass("uk-grid-margin"); 19 }); 20 21 // Show sub-categories of journal item "Reihen & Kolumne" 22 jQuery(".lpb-toggle-journal-subcats").click(function () { 23 if (jQuery(".lpb-journal-subcats").is(":hidden")) { 24 jQuery(".lpb-toggle-journal-subcats > i").removeClass('uk-icon-plus').addClass('uk-icon-minus'); 25 jQuery(".lpb-journal-subcats").show(); 26 } else { 27 jQuery(".lpb-toggle-journal-subcats > i").removeClass('uk-icon-minus').addClass('uk-icon-plus'); 28 jQuery(".lpb-journal-subcats").hide(); 29 } 30 }); 31 32 // Override for JComments function 33 if (typeof JComments != "undefined") { 34 JComments.prototype.showMessage = (function (_super) { 35 return function (m, c, t) { 36 console.log("Tescht"); 37 clearTimeout(this.fadeTimer); var fe = this.$('comments-form-message'); var af = this.$(t); 38 if (fe) { fe.parentNode.removeChild(fe); } fe = JComments.prototype.createElement('div', 'comments-form-message', ''); 39 if (af) { JComments.prototype.moveElement(fe, af, af.firstChild); } else { alert(m); return; } 40 if (!c) { c = 'info'; } fe.className = 'comments-form-message-' + c; 41 fe.innerHTML = m; fe.style.display = 'block'; JComments.prototype.setOpacity(fe.id, 100); 42 this.fadeTimer = setTimeout(function () { JComments.prototype.fade('comments-form-message', 100, 0, 1000); }, 20000); 43 JCommentsScroll.scroll(fe); 44 }; 45 })(JComments.prototype.showMessage); 46 } 47 48 // Toggle comments form 49 jQuery(".lpb-toggle-comments-form").click(function (e) { 50 if (jQuery(".lpb-comments-form").is(":visible")) { 51 jQuery(".lpb-comments-form").hide(); 52 } else { 53 jQuery(".lpb-comments-form").show(); 54 } 55 }); 56});
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.