loadscreen cover whole main

This commit is contained in:
nugroho 2025-06-25 02:13:06 +07:00
parent f4e92fdc84
commit 0819136981

View File

@ -223,7 +223,7 @@ nav
if (window.shellnavigating) return;
window.dispatchEvent(new Event("viewChange"));
window.shellnavigating = true;
let id = moly.loadScreen.show("Memuat...","sonar","#content");
let id = moly.loadScreen.show("Memuat...","sonar","#main");
$('.item[data-active]').removeAttr("data-active");
$(e.target.closest(".item")).attr("data-active","");
let content = e.target.closest(".item").getAttribute("data-path") ? fetch(`/modules/${e.target.closest(".item").getAttribute("data-path")}.html`).then(d => d.text()).catch(e=>{