PageSourceSearch

https://www.namirial.it/wp-content/plugins/nam_forminator_extension/assets/js/main.js

js namirial.it collected 2026-10-01 10:45:40 UTC 1,000 bytes, 28 lines download raw bytes

1/* MAIN PLUGIN CUSTOM JS */
2
3/**
4 * Modify the layout of the password and confirm password fields showing them side by side in a more compact way
5 */
6
7document.addEventListener('DOMContentLoaded', function () {
8	const pw1Col = document.getElementById('password-1');
9	const confirmRow = pw1Col?.closest('.forminator-row')?.nextElementSibling;
10
11	if (!pw1Col || !confirmRow) return;
12
13	const confirmCol = confirmRow.querySelector('.forminator-col');
14	if (!confirmCol) return;
15
16	// Set both columns to 6 (half) of the width instead of 12 (full)
17	pw1Col.classList.remove('forminator-col-12');
18	pw1Col.classList.add('forminator-col-6', 'forminator-col-md-6');
19
20	confirmCol.classList.remove('forminator-col-12');
21	confirmCol.classList.add('forminator-col-6', 'forminator-col-md-6');
22
23	// Move the confirm column to the same row as the password column
24	pw1Col.closest('.forminator-row').appendChild(confirmCol);
25
26	// Remove the empty row that was left after moving the confirm column
27	confirmRow.remove();
28});

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.