diff --git a/js/accounts/auth.js b/js/accounts/auth.js index 3d9f614..8fd23df 100644 --- a/js/accounts/auth.js +++ b/js/accounts/auth.js @@ -218,8 +218,14 @@ export class AuthManager { if (clearDataBtn) clearDataBtn.style.display = 'none'; if (emailToggleBtn) emailToggleBtn.style.display = 'inline-block'; - if (githubBtn) { githubBtn.style.display = 'inline-block'; githubBtn.onclick = () => this.signInWithGitHub(); } - if (discordBtn) { discordBtn.style.display = 'inline-block'; discordBtn.onclick = () => this.signInWithDiscord(); } + if (githubBtn) { + githubBtn.style.display = 'inline-block'; + githubBtn.onclick = () => this.signInWithGitHub(); + } + if (discordBtn) { + discordBtn.style.display = 'inline-block'; + discordBtn.onclick = () => this.signInWithDiscord(); + } if (statusText) statusText.textContent = 'Sync your library across devices'; } } diff --git a/js/app.js b/js/app.js index 5e56ef5..8447152 100644 --- a/js/app.js +++ b/js/app.js @@ -2895,7 +2895,8 @@ document.addEventListener('DOMContentLoaded', async () => { headerAccountDropdown.innerHTML = ''; if (!user) { - const iconBtnStyle = 'background:none;border:none;cursor:pointer;padding:4px;border-radius:6px;display:flex;align-items:center;transition:opacity 0.15s'; + const iconBtnStyle = + 'background:none;border:none;cursor:pointer;padding:4px;border-radius:6px;display:flex;align-items:center;transition:opacity 0.15s'; headerAccountDropdown.innerHTML = ` Connect with