PageSourceSearch

https://www.artsandartists.org/wp-content/themes/generatepress_child/js/functions.js?ver=1.0

js artsandartists.org collected 2026-10-02 04:47:56 UTC 840 bytes, 30 lines download raw bytes

1'use strict';
2
3(function ($, window, document) {
4    $(function () {
5
6
7
8		/*******************************************************
9		Collapsiable sidebar menus.
10		********************************************************/
11
12		var makeSidebarNavCollapsible = function () {
13			$('#left-sidebar .menu li.menu-item-has-children > a').after('<span class="toggle collapse"></span>');
14			$('#left-sidebar .menu li.menu-item-has-children > .sub-menu').addClass('collapsed');
15
16			$('#left-sidebar li.menu-item-has-children .toggle').on('click', function () {
17				$(this).toggleClass('collapse expand');
18				$(this).next('.sub-menu').toggleClass('collapsed expanded');
19			});
20		};
21
22
23		$('#content').has('.full-width-hero').css('margin-top', $('.full-width-hero').height());
24
25
26
27		makeSidebarNavCollapsible();
28
29	});
30} (window.jQuery, window, document));

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.