fix: search.js — ReferenceError el + _getEffective non importes
This commit is contained in:
parent
8662d4ce17
commit
be65edb1a6
@ -367,7 +367,7 @@ function applyFrontendConfig() {
|
||||
}
|
||||
}
|
||||
|
||||
function _getEffective(key, fallback) {
|
||||
export function _getEffective(key, fallback) {
|
||||
const cfg = _getFrontendConfig();
|
||||
return cfg[key] !== undefined ? cfg[key] : fallback;
|
||||
}
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
/* ObsiGate — Search module */
|
||||
import { state } from './state.js';
|
||||
import { safeCreateIcons } from './utils.js';
|
||||
import { showLoading } from './viewer.js';
|
||||
import { showLoading, el } from './viewer.js';
|
||||
import { _getEffective } from './config.js';
|
||||
// ---------------------------------------------------------------------------
|
||||
// Search History Service (localStorage, LIFO, max 50, dedup)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user