Commented code from HT Mega?
-
I’m working on optimizing my site and noticed a large chunk of code commented out when I view source on my page. I’ve searched all my custom code files and don’t see it, and there’s reference to the HT Mega Search Box, so I am wondering if this is being put in by HT Mega. Would you be able to verify? Below is part of that code (it’s much longer than this – 170 lines in total and about 6KB)
// (function($){// “use strict”;// $(document).ready(function() {// // Toggle search box open/close on click// $(‘.search-button’).click(function(){// $(this).parent().toggleClass(‘open’);// });
// // Close search box when clicking outside of it// $(document).click(function(e) {// if (!$(e.target).closest(‘.htmega-search-box’).length && !$(e.target).closest(‘.search-button’).length) {// $(‘.htmega-search-box’).removeClass(‘open’);// }// });// });// })(jQuery);The page I need help with: [log in to see the link]
The topic ‘Commented code from HT Mega?’ is closed to new replies.