v2.2.1
This commit is contained in:
@@ -2666,6 +2666,10 @@
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg>
|
||||
Menu
|
||||
</button>
|
||||
<button id="mob-tab-logout" class="mob-tab" onclick="logout()" style="display:none;color:var(--muted)">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" y1="12" x2="9" y2="12"/></svg>
|
||||
로그아웃
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
<!-- Mobile backdrop (closes sidebar drawer) -->
|
||||
@@ -5569,6 +5573,8 @@ async function checkAuth() {
|
||||
const nameEl = document.getElementById('user-info-name');
|
||||
if (pill) pill.style.display = 'flex';
|
||||
if (nameEl) nameEl.textContent = data.username;
|
||||
const mobileLogout = document.getElementById('mob-tab-logout');
|
||||
if (mobileLogout) mobileLogout.style.display = 'flex';
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Auth check failed:', e);
|
||||
|
||||
Reference in New Issue
Block a user