From 869c09a0ed7e7c1fa6a4376cf9acf06e7fecc874 Mon Sep 17 00:00:00 2001 From: Marin Ivanov Date: Tue, 20 Aug 2024 17:03:05 +0300 Subject: mobile improvements --- app.js | 4 ++-- index.html | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index b8f684d..ddbb66b 100644 --- a/app.js +++ b/app.js @@ -48,7 +48,7 @@ function CErr(text) { var el = div( - div("🗙").$cls("close").$click(errClose), + div("✖").$cls("close").$click(errClose), span("⚠ "), text, ).$cls("err"); @@ -120,7 +120,7 @@ mount(app, (h) => { loading(isLoading); return [ - div(error && CErr(error.message)), + div(error && CErr(String(error))), main( navbar(h), section(router(h)) diff --git a/index.html b/index.html index b57f796..6f1cfb8 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ + WebIF 2.0 -- cgit v1.2.3