1jQuery(document).ready(function ($) { 2 3 function toggleBreakpoints() { 4 Reusables.Breakpoints.on('body') 5 .define([768, Infinity], { 6 name: 'breakpoints-768' 7 }); 8 } 9 toggleBreakpoints(); 10 11 function toggleTinyNav(){ 12 var menu = $('.js-toggle-tinynav .menu').tinyNav({ 13 active: 'current-menu-item' 14 }); 15 } 16 toggleTinyNav(); 17 18 function toggleCompare() { 19 var compareBox = $('.compare-top-box'); 20 compareBox.find('.compare-image-thumbnail').click(function(){ 21 var thumbnail = $(this); 22 23 var parentBox = thumbnail.closest('.compare-top-box'); 24 if (parentBox.hasClass('active')) { 25 parentBox.removeClass('active'); 26 } 27 else { 28 compareBox.removeClass('active'); 29 parentBox.addClass('active'); 30 } 31 }); 32 } 33 toggleCompare(); 34 35});
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.