PageSourceSearch

https://www.arantxa-coca.com/js/broccoli-swap-order-in-desktop.js

js arantxa-coca.com collected 2026-10-08 09:30:19 UTC 409 bytes, 20 lines download raw bytes

1function swapOrderInDesktop(col1_selector, col2_selector) {
2	var is_mobile = true;
3	var col1 = $(col1_selector);
4	var col2 = $(col2_selector);
5	function onResize() {
6		if(indexIsMobile()) {
7			if(!is_mobile) {
8				is_mobile = true;
9				col2.insertAfter(col1);
10			}
11		} else {
12			if(is_mobile) {
13				is_mobile = false;
14				col2.insertBefore(col1);
15			}
16		}
17	}
18	$(window).on('resize', onResize);
19	onResize();
20}

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.