diff --git a/public/assets/js/account.js b/public/assets/js/account.js index 9dca129..62cf0c0 100644 --- a/public/assets/js/account.js +++ b/public/assets/js/account.js @@ -146,7 +146,7 @@ document.querySelector('form.change-password').addEventListener('submit', functi document.querySelector('[data-action="show-change-email"]').addEventListener('click', function (event) { event.preventDefault() hoodie.account.get('username').then(function (username) { - document.querySelector('#input-change-email').value = hoodie.account.username + document.querySelector('#input-change-email').value = username }) })