diff --git a/web/templates/new.html b/web/templates/new.html
index 951d180..bd0f048 100644
--- a/web/templates/new.html
+++ b/web/templates/new.html
@@ -135,6 +135,7 @@ function composeCustomExpiry() {
if (rem === 0) return hours + 'h';
if (hours === 0) return rem + 'm';
return hours + 'h' + rem + 'm';
+}
$('pwreveal').addEventListener('click', () => {
const pw = $('password');