PageSourceSearch

https://www.whatsinai.com/themes/wOQV2c31/js/main.js

js whatsinai.com collected 2026-10-09 00:34:15 UTC 999 bytes, 42 lines download raw bytes

1(function($) {
2	"use strict"
3
4	// Mobile dropdown
5	$('.has-dropdown>a').on('click', function() {
6		$(this).parent().toggleClass('active');
7	});
8
9	// Aside Nav
10	$(document).click(function(event) {
11		if (!$(event.target).closest($('#nav-aside')).length) {
12			if ( $('#nav-aside').hasClass('active') ) {
13				$('#nav-aside').removeClass('active');
14				$('#nav').removeClass('shadow-active');
15			} else {
16				if ($(event.target).closest('.aside-btn').length) {
17					$('#nav-aside').addClass('active');
18					$('#nav').addClass('shadow-active');
19				}
20			}
21		}
22	});
23
24	$('.nav-aside-close').on('click', function () {
25		$('#nav-aside').removeClass('active');
26		$('#nav').removeClass('shadow-active');
27	});
28
29
30	$('.search-btn').on('click', function() {
31		$('#nav-search').toggleClass('active');
32	});
33
34	$('.search-close').on('click', function () {
35		$('#nav-search').removeClass('active');
36	});
37
38	// Parallax Background
39	$.stellar({
40		responsive: true
41	});
42})(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.