PageSourceSearch

https://www.inksoft.com/wp-content/themes/inksoft-child/js/feature-mobile-menu.js?ver=1.0

js inksoft.com collected 2026-09-24 08:59:28 UTC 759 bytes, 38 lines download raw bytes

1(function($){
2
3  var mobileMenu = {
4
5    init : function(){
6      this.initVars();
7      this.initEvents();
8    },
9
10    initVars : function () {
11      this.$btnMenuToggle   = $('[data-menu-toggle]');
12      this.$hasSubNav = $("#menu-mobile-nav .menu-item-has-children > .btn-mobile-subnav");
13    },
14
15    initEvents : function () {
16
17      var _this = this;
18
19      this.$btnMenuToggle.on("click", function(ev) {
20        ev.preventDefault();
21        $("body").toggleClass("nav-open");
22      });
23
24      this.$hasSubNav.on("click", function(ev){
25        ev.preventDefault();
26        $(this).parent().toggleClass("active");
27        $(this).parent().find(".sub-menu").slideToggle();
28      });
29
30    }
31
32  };
33
34  $(function () {
35    mobileMenu.init();
36  });
37
38})(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.