summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js4
-rw-r--r--index.html1
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 @@
<html lang="en">
<head>
<meta charset="utf8">
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>WebIF 2.0</title>
<link rel="stylesheet" href="style.css">
</head>