www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit 114d21c1eb7622d08a622197ad51190db16ab436
parent ed2d7f07f2e2ff21670888b50ef2ab07d8d39b46
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Wed,  9 Oct 2024 21:40:27 -0700

Fix /login page

The login callback was not being called because I updated the
ui.login parameters and didn't update the call to it in the login
page.

Diffstat:
Mfiles/login/main.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/login/main.js b/files/login/main.js @@ -9,7 +9,7 @@ function init() { window.location.href = default_page } - document.body.appendChild(ui.login(function() { window.location.href = default_page })) + document.body.appendChild(ui.login({ callback: function() { window.location.href = default_page } })) } window.onload = etc.handle_wrap(init)