PageSourceSearch

https://www.bitrix24.jp/bitrix/templates/bitrix24_2017/components/bitrix/menu/footer.category.menu/script.js

js bitrix24.jp collected 2026-10-01 06:21:39 UTC 575 bytes, 21 lines download raw bytes

1;(function() {
2	'use strict';
3
4	document.addEventListener('DOMContentLoaded', function() {
5		let section = document.querySelector('[data-category-menu]');
6
7		if (section)
8		{
9			let elements = Array.prototype.slice.call(document.querySelectorAll('[data-category-menu-title]'));
10			elements.forEach(function(element, index, list) {
11				element.addEventListener('click', function() {
12					list.forEach(function(element) {
13						element.removeAttribute('data-active');
14					});
15
16					element.setAttribute('data-active', 'true');
17				});
18			});
19		}
20	});
21})();

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.