diff --git a/frontend/js/account.js b/frontend/js/account.js index b12c2f4..69a780b 100644 --- a/frontend/js/account.js +++ b/frontend/js/account.js @@ -6,15 +6,15 @@ import { signedInPage } from "./layout.js"; const root = document.getElementById("avatar-panel"); const messages = document.getElementById("messages"); -let user = await signedInPage("account.html"); -render(); - const SOURCES = { upload: "An image you uploaded.", gravatar: "Your Gravatar, copied to this server.", none: "You haven't set a profile image yet.", }; +let user = await signedInPage("account.html"); +render(); + function say(notice) { replace(messages, notice); }