diff --git a/index.html b/index.html
index 94ebfdb..fc4e2bc 100644
--- a/index.html
+++ b/index.html
@@ -31,6 +31,8 @@
+
•
+
diff --git a/main.js b/main.js
index 0fae926..062e120 100644
--- a/main.js
+++ b/main.js
@@ -13,7 +13,8 @@ var defaultsettings =
password: "",
sync: false,
tagsinlists: true,
- uselinkpopup: true
+ uselinkpopup: true,
+ useunsavedmark: false
};
//builtin
@@ -1917,6 +1918,7 @@ function postpone()
function setsaved()
{
+ unsavedmark.hidden = true;
saved = true;
lastsaved = timestamp();
}
@@ -2277,6 +2279,7 @@ function datachanged()
resize();
saved = false;
+ unsavedmark.hidden = !settings.useunsavedmark;
postpone()
.then(save);
diff --git a/style.css b/style.css
index 50f1a17..684b504 100644
--- a/style.css
+++ b/style.css
@@ -50,6 +50,13 @@ body::-webkit-scrollbar-thumb {
/* note page and editor */
+#unsavedmark {
+ position: fixed;
+ top: 0;
+ left: 5px;
+ color: lightgrey;
+}
+
#notepage {
width: 100%;
display: table;