This commit is contained in:
2025-04-13 18:17:52 -06:00
parent ca9fe75d0a
commit 006cffef38
5 changed files with 27 additions and 27 deletions
-16
View File
@@ -1,16 +0,0 @@
document.addEventListener('DOMContentLoaded', function() {
let inputs = document.querySelectorAll('input');
inputs.forEach(input => {
if (input.matches(':-webkit-autofill')) {
input.classList.add('autofilled');
}
function apply_hover(el) {
input.classList.add('autofilled');
}
input.addEventListener('hover', apply_hover);
input.addEventListener('focus', apply_hover);
});
});