PageSourceSearch

https://www.topgal.store/resources/js/source/order.js

js topgal.store collected 2026-10-08 18:00:00 UTC 615 bytes, 31 lines download raw bytes

1/*
2const TopgalOrder = () => {
3	const setOrder = (e) => {
4		e.preventDefault();
5
6		if (e.target.dataset.order) {
7			console.log(e.target.dataset.order)
8		} else {
9			console.log(e.target.value);
10		}
11	}
12
13	const init = () => {
14		document.querySelectorAll('.js-products-order-link').forEach((el) => {
15			el.addEventListener('click', setOrder)
16		});
17		document.getElementById('js-products-order-select').addEventListener('change', setOrder)
18	}
19
20	return {
21		init: init
22	}
23}
24
25document.addEventListener('DOMContentLoaded', function() {
26	const order = TopgalOrder();
27	order.init();
28});
29
30 */
31

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.