forked from MapComplete/MapComplete
Feature: offline: more features to be able to work fully offline
This commit is contained in:
parent
825efdee34
commit
06aa8a3406
23 changed files with 203 additions and 60 deletions
|
@ -1,5 +1,6 @@
|
|||
import { QueryParameters } from "./Logic/Web/QueryParameters"
|
||||
import AllThemesGui from "./UI/AllThemesGui.svelte"
|
||||
import { InstallServiceWorker } from "./InstallServiceWorker"
|
||||
|
||||
const theme = QueryParameters.GetQueryParameter("layout", undefined).data ?? ""
|
||||
const customLayout = QueryParameters.GetQueryParameter("userlayout", undefined).data ?? ""
|
||||
|
@ -26,7 +27,7 @@ if (theme !== "") {
|
|||
l.protocol + "//" + window.location.host + "/theme.html" + l.search + l.hash
|
||||
)
|
||||
}
|
||||
|
||||
InstallServiceWorker.installServiceWorker().catch(e => console.error(e))
|
||||
new AllThemesGui({
|
||||
target: document.getElementById("main"),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue