1$(document).ready(function(){ 2 $('.item_block.slide .arrow-block').on('click', function(e){ 3 $(this).closest('.toggle').find('.name').trigger('click'); 4 }) 5 $('.item_block.slide .name').on('click', function(e){ 6 var _this = $(this), 7 slideBlock = _this.closest('.toggle').find('.slide-wrapper'), 8 bOpen = slideBlock.is(':visible'), 9 dur = bOpen ? 200 : 400, 10 func = (bOpen ? 'slideUp' : 'slideDown'); 11 12 if(slideBlock.length) 13 { 14 if(!$(e.target).closest('a').length && !$(e.target).hasClass('dark_link')) 15 { 16 slideBlock.velocity(func, {duration: dur, easing: 'easeOutQuart'}); 17 slideBlock.toggleClass('opened'); 18 } 19 } 20 }) 21})
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.