PageSourceSearch

https://nexusamr.com/wp-content/themes/cryptlight/assets/js/elementor/menu-canvas.js?ver=7.1.3

js nexusamr.com collected 2026-10-08 22:47:40 UTC 1,735 bytes, 56 lines download raw bytes

1(function($){
2	"use strict";
3	
4
5	$(window).on('elementor/frontend/init', function () {
6        
7		
8		/* Menu */
9        elementorFrontend.hooks.addAction('frontend/element_ready/cryptlight_elementor_menu_canvas.default', function(){
10	        
11	        $('.menu-canvas .menu-toggle').on('click', function () {
12	        	$(this).closest( '.menu-canvas' ).toggleClass('toggled');
13	            
14	        });
15
16	        
17	        if( $('.site-overlay').length > 0 ){
18	        	$('.site-overlay').on('click', function () {
19		        	$(this).closest( '.menu-canvas' ).toggleClass('toggled');
20		        });
21	        }
22
23	        if( $('.close-menu').length > 0 ){
24	        	$('.close-menu').on('click', function () {
25		        	$(this).closest( '.menu-canvas' ).toggleClass('toggled');
26		        });
27	        }
28
29	        var $menu = $('.menu-canvas');
30	        if ( $menu.length > 0 ) {
31	            $menu.find('.menu-item-has-children > a, .page_item_has_children > a').each((index, element) => {
32	                var $dropdown = $('<button class="dropdown-toggle"></button>');
33	                $dropdown.insertAfter(element);
34
35	            });
36	            
37	            $(document).on('click', '.menu-canvas .dropdown-toggle', function (e) {
38	                e.preventDefault();
39	                $(e.target).toggleClass('toggled-on');
40	                $(e.target).siblings('ul').stop().toggleClass('show');
41	            });
42	            $(document).on('click', '.menu-canvas .close-menu', function (e) {
43	                e.preventDefault();
44	                $(e.target).toggleClass('toggled-on');
45	                $(e.target).siblings('ul').stop().toggleClass('show');
46	            });
47	        }
48
49	      
50
51        });
52
53
54   });
55
56})(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.