www.spaceplanner.app

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

commit f469efe6ba155494f88a0fac6ca66aa3e8f540d9
parent e7f2e3235dbb4c7d149301e029493f58e56fc565
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Fri, 11 Oct 2024 14:38:23 -0700

Use email input type in settings

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

diff --git a/files/settings/main.js b/files/settings/main.js @@ -184,7 +184,7 @@ function update_verified_email() { function create_input(name, setting, current_value) { let input = document.createElement("input") if (setting.type == "string") { - input.type = "text" + input.type = name === "email" ? "email" : "text" } else if (setting.type == "bool") { input.type = "checkbox" if (current_value) {