1/* Copyright (C) 121 Marketing - 121marketing.com */ 2 3/* ======================================================================== 4 Custom JS 5 ========================================================================== */ 6 7jQuery(function($) { 8 9 10$(".latest-news .uk-slideshow > li .uk-overlay-panel .uk-margin").text(function(){ 11 return $(this).text().length > 250 ? $(this).text().substr(0, 250)+'...' : $(this).text(); 12}); 13 14 15 16$("fieldset .uk-grid > *").unwrap(); 17$('fieldset > .uk-width-12-12 > *').unwrap(); 18 19 20 21 22var $lis = $('.homepage-buttons ul li'); 23if ($lis.length < 5) { 24 $( ".homepage-buttons .uk-slidenav" ).addClass( "uk-hidden" ); 25} 26 27if ($(window).width() < 1220) { 28 $( ".homepage-buttons .uk-slidenav" ).removeClass( "uk-hidden" ); 29} 30 31 $( ".com_dtregister .dth-btn ,.com_dtregister .btn.dth-btn-primary " ).removeClass( "dth-btn dth-btn-primary " ).addClass( "uk-button" ); 32 33 $( ".com_dtregister .event_button" ).removeClass( "event_button " ); 34 35 $( ".btn-groups input[type='button']" ).removeClass( "dth-btn dth-btn-primary " ).addClass( "uk-button" ); 36 37 38 $( "#jevents input.button" ).removeClass( "button" ).addClass( "uk-button" ); 39 40 41 42 $( ".dtregister-viewcart .actionTableRow input[type='submit']" ).removeClass( "dth-btn dth-btn-primary" ).addClass( "uk-button" ); 43 44 // Sidebar 45 $('.panel-fixed').each(function() { 46 var $this = $(this); 47 var $containerHeight = $('#tm-main').outerHeight() - $('#tm-main').height(); 48 if (($this.height() < $('#tm-content').height()) && ($(window).height() > ($this.height() + $containerHeight))) { 49 $this.attr("data-uk-sticky","{top: 35, media: 768, boundary: true}"); 50 } 51 }); 52 53 54 55});
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.