summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/absences.js2
-rw-r--r--js/messaging.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/js/absences.js b/js/absences.js
index 77a6c75..3228cee 100644
--- a/js/absences.js
+++ b/js/absences.js
@@ -62,7 +62,7 @@ async function loadAbsences(force_refresh = false) {
success: function (data) {
// If data is null, the credentials were incorrect
if (data === null) {
- M.toast({ html: "No absences in this time span." });
+ M.toast({ html: "No absences in the chosen time period." });
setLoading(false);
} else {
// Save absences & populate UI
diff --git a/js/messaging.js b/js/messaging.js
index 4004147..b88e053 100644
--- a/js/messaging.js
+++ b/js/messaging.js
@@ -53,7 +53,7 @@ function loadDirectory() {
localforage.getItem("directory").then((stored_directory) => {
if (stored_directory === null) {
// If unable, set directory to null (so other functions know that we don't have it)
- M.toast({ html: "Name directory not set, sending disabled" });
+ M.toast({ html: "Name directory not set, sending unavailable" });
directory = null;
// Disable send button
document.getElementById("msg-send").disabled = true;
@@ -248,7 +248,7 @@ function displayMessage(id, data) {
// Function for displaying data
function displayData() {
- let msg_list = document.getElementById("msg_list");
+ let msg_list = document.getElementById("msg-list");
msg_list.innerHTML = "";
messages.forEach(element => {
if (element["zadeva"].substr(0, 14) != "beziapp-ctlmsg")