fix: add safeCreateIcons import to auth.js + export closeHeaderMenu from ui.js
This commit is contained in:
parent
e2b35fc19e
commit
c83068f473
@ -1,5 +1,7 @@
|
||||
/* ObsiGate — Authentication: API helper, AuthManager, login form, AdminPanel */
|
||||
import { state } from './state.js';
|
||||
import { safeCreateIcons } from './utils.js';
|
||||
import { showToast } from './ui.js';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// API helpers
|
||||
|
||||
@ -192,7 +192,7 @@ export function initHeaderMenu() {
|
||||
});
|
||||
}
|
||||
|
||||
function closeHeaderMenu() {
|
||||
export function closeHeaderMenu() {
|
||||
const menuBtn = document.getElementById("header-menu-btn");
|
||||
const menuDropdown = document.getElementById("header-menu-dropdown");
|
||||
if (!menuBtn || !menuDropdown) return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user