apply url changes to view gallery

This commit is contained in:
Bruno Windels 2020-10-09 17:04:25 +02:00
parent 56e51fc2aa
commit 83ac3eccc5
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@
const view = new LoginView(vm({
defaultHomeServer: "https://hs.tld",
login: () => alert("Logging in!"),
goBack: () => alert("Going back"),
cancelUrl: "#/session"
}));
document.getElementById("login").appendChild(view.mount());
</script>
@ -59,6 +59,7 @@
loadLabel: "Doing something important...",
loading: true,
}),
cancelUrl: "#/session",
defaultHomeServer: "https://hs.tld",
}));
document.getElementById("login-loading").appendChild(view.mount());