fix: export closeMobileSidebar, showLoading; add imports
All checks were successful
CI / lint (push) Successful in 12s
CI / security (push) Successful in 15s
CI / test (push) Successful in 15s
CI / build (push) Successful in 1s

This commit is contained in:
Bruno Charest 2026-05-29 08:42:22 -04:00
parent ac223e0541
commit 8662d4ce17
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
/* ObsiGate — Search module */
import { state } from './state.js';
import { safeCreateIcons } from './utils.js';
import { showLoading } from './viewer.js';
// ---------------------------------------------------------------------------
// Search History Service (localStorage, LIFO, max 50, dedup)
// ---------------------------------------------------------------------------

View File

@ -411,7 +411,7 @@ export function initMobile() {
});
}
function closeMobileSidebar() {
export function closeMobileSidebar() {
const sidebar = document.getElementById("sidebar");
const overlay = document.getElementById("sidebar-overlay");
if (sidebar) sidebar.classList.remove("mobile-open");

View File

@ -1034,7 +1034,7 @@ async function loadSavedSearches() {
} catch (err) { /* silently ignore */ }
}
function showLoading() {
export function showLoading() {
const area = document.getElementById("content-area");
area.innerHTML = `
<div class="loading-indicator">