PageSourceSearch

https://www.printedthreads.com/wp-content/themes/popper/js/main.js

js printedthreads.com collected 2026-10-04 16:05:47 UTC 912 bytes, 48 lines download raw bytes

1// Mobile Nav toggle button
2
3//Open mobile nav menu when hamburger is clicked
4
5
6
7(function($) {
8  "use strict"
9
10  // NAVIGATION
11  var responsiveNav = $('#mobile-nav-menu'),
12    catToggle = $('.category-header'),
13    catList = $('.category-list'),
14    menuToggle = $('.menu-header'),
15    menuList = $('.menu-list'),
16    closeNav = $('.nav-close'),
17    openNav = $('.nav-toggle');
18
19	
20  openNav.on('click', function(){
21		$(".mobile-nav-menu").addClass("open");
22		$("body").toggleClass("noScroll");
23
24  });	
25
26  closeNav.on('click', function() {
27	  	$(".mobile-nav-menu").removeClass("open");
28	  	$("body").toggleClass("noScroll");
29	  	console.log("Clicked It");
30
31  });	
32  
33  catToggle.on('click', function() {
34    menuList.removeClass('open');
35    catList.toggleClass('open');
36  });
37
38  menuToggle.on('click', function() {
39    catList.removeClass('open');
40    menuList.toggleClass('open');
41  });
42
43
44  
45  
46
47
48})(jQuery);

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.