diff --git a/gui/pages/settings.htm b/gui/pages/settings.htm
index 23bd4f8..7c7796d 100644
--- a/gui/pages/settings.htm
+++ b/gui/pages/settings.htm
@@ -10,10 +10,10 @@
diff --git a/gui/scripts/windowman.JS b/gui/scripts/windowman.JS
index d8943c3..549e674 100644
--- a/gui/scripts/windowman.JS
+++ b/gui/scripts/windowman.JS
@@ -61,7 +61,11 @@ class windowman {
);
}
- text_element.innerText = text_inserted;
+ if (text_element.tagName.toLowerCase().includes(`input`)) {
+ text_element.setAttribute(`placholder`, text_inserted);
+ } else {
+ text_element.innerText = text_inserted;
+ }
});
}
@@ -216,7 +220,7 @@ class windowman {
// Write the data.
secretariat.write(
[`view`, window.location.href],
- this.getAttribute(`for`),
+ parseInt(this.getAttribute(`tab`)),
1,
);
})();