PageSourceSearch

https://www.somasandiego.com/wp-content/themes/soma/js/scripts.js?ver=7.0.5

js somasandiego.com collected 2026-09-26 01:49:23 UTC 1,174 bytes, 41 lines download raw bytes

1jQuery( document ).ready( function( $ ) {
2	$( '#mobile-menu' ).click( function() {
3		$( '#mobile-menu i' ).toggleClass( 'fa-times' );
4		$( '#mobile-menu i' ).toggleClass( 'fa-bars' );
5		$( 'body' ).toggleClass( 'nav-open' );
6		return false;
7	});
8
9	$( window ).click(function() {
10		$( 'body' ).removeClass( 'nav-open' );
11		$( '#mobile-menu i' ).removeClass( 'fa-times' ).addClass( 'fa-bars' );
12	});
13
14	$('#header nav ul').click(function(event){
15	    event.stopPropagation();
16	});
17
18	$( '#header nav li a' ).click( function(){
19		if ( $('body').hasClass( 'nav-open' ) ) {
20			var submenu = $( this ).siblings( 'ul' );
21			if ( submenu.size() > 0 ) {
22				submenu.toggleClass( 'active' );
23				return false;
24			}
25		}
26	});
27
28	$('a[href*="#"]:not([href="#"])').click(function() {
29	    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
30	      var target = $(this.hash);
31	      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
32	      if (target.length) {
33	        $('html,body').animate({
34	          scrollTop: target.offset().top
35	        }, 1000);
36	        return false;
37	      }
38	    }
39	});
40
41});

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.