MediaWiki:Common.js: Difference between revisions

28.10.2025 Prusac | 18.11.2025

No edit summary
No edit summary
Line 3: Line 3:
document.getElementById('searchInput').focus();
document.getElementById('searchInput').focus();
document.getElementById('searchInput').setAttribute("placeholder","");
document.getElementById('searchInput').setAttribute("placeholder","");
document.getElementsByClassName('cdx-text-input__input')[0].setAttribute("autocomplete","off");

Revision as of 14:28, 31 October 2025

/* Any JavaScript here will be loaded for all users on every page load. */

document.getElementById('searchInput').focus();
document.getElementById('searchInput').setAttribute("placeholder","");
document.getElementsByClassName('cdx-text-input__input')[0].setAttribute("autocomplete","off");