rm unused js

This commit is contained in:
Aidan 2024-12-09 21:02:29 -05:00
parent ce51bb3311
commit 604541f9c4
No known key found for this signature in database
GPG Key ID: 1773A01F0EFE4FC1

View File

@ -1,9 +0,0 @@
document.getElementById('email').addEventListener('input', function() {
let emailInput = document.getElementById('email').value;
let prefix = document.getElementById('email-prefix');
if (emailInput.includes('@p0ntus.com')) {
prefix.innerText = emailInput.split('@')[0];
} else {
prefix.innerText = emailInput;
}
});