PageSourceSearch

https://www.teamgate.com/wp-content/themes/teamgate/assets/js/global-script.js?ver=2.2.43

js teamgate.com collected 2026-10-02 02:34:20 UTC 1,191 bytes, 47 lines download raw bytes

1var $ = jQuery.noConflict();
2var position = $(window).scrollTop(); 
3$(function() {
4	var parent_menu = $( '.primary-menu-block ul:not(.sub-menu) > li.menu-item-has-children' );
5	// $(document).click(function() {
6	// 	parent_menu.removeClass('active');
7	// });
8	
9	parent_menu.on( 'click', function(event) {
10		event.stopPropagation();		
11		parent_menu.not(this).removeClass('active');
12		$( this ).toggleClass( "active" );
13	});
14
15	$(document).click(function() {
16		parent_menu.removeClass('active');
17	});
18
19	$('.mobile-menu').on( 'click', function() {
20		$('.primary-menu-block').show();
21		$('.mobile-menu-close').removeClass('d-none');
22	});
23	$('.mobile-menu-close').on( 'click', function() {
24		$('.primary-menu-block').hide();
25		$('.mobile-menu-close').addClass('d-none');
26	});
27
28	$('[data-toggle="popover"]').popover();
29
30	$('.lazy').Lazy({
31		scrollDirection: 'vertical',
32		effect: 'fadeIn',
33		visibleOnly: true
34	});
35});
36
37// should start at 0
38
39$(window).scroll(function() {
40    var scroll = $(window).scrollTop();
41    if(scroll > position) {
42        $('.mobile-buttons-block').addClass('closed');
43    } else {
44        $('.mobile-buttons-block').removeClass('closed');
45    }
46    position = scroll;
47});

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.