PageSourceSearch

https://kamensk-eparhiya.ru/wp-content/themes/morphology-lite/js/functions.js?ver=2015

js kamensk-eparhiya.ru collected 2026-10-02 19:07:25 UTC 692 bytes, 42 lines download raw bytes

1/**
2 * Various functions for this theme
3*/	
4
5
6(function($) {
7
8   'use strict';	
9 
10   		var nav = $( '#site-navigation' ), button, menu;
11		if ( ! nav ) {
12			return;
13		}
14
15		button = nav.find( '.menu-toggle' );
16		if ( ! button ) {
17			return;
18		}
19
20		// Hide button if menu is missing or empty.
21		menu = nav.find( '.nav-menu' );
22		if ( ! menu || ! menu.children().length ) {
23			button.hide();
24			return;
25		}
26
27		$( '.menu-toggle' ).on( 'click.morphology', function() {
28			nav.toggleClass( 'toggled-on' );
29		} );
30				
31
32		
33})(jQuery);
34
35
36
37
38
39// Lets add some classes to theme elements
40jQuery(document).ready(function($){
41  $('article').addClass('clearfix');
42});

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.