summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2024-08-20 17:03:05 +0300
committerMarin Ivanov <[email protected]>2024-08-20 17:03:05 +0300
commit869c09a0ed7e7c1fa6a4376cf9acf06e7fecc874 (patch)
tree5a0a8192e0e0a36bf472d3e021b86977b0011eb5 /app.js
parentae3c05148848d029c188553e7e5211b6d1b63d1a (diff)
mobile improvements
Diffstat (limited to 'app.js')
-rw-r--r--app.js4
1 files changed, 2 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))