diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-20 20:15:40 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-20 20:15:40 +0100 |
commit | 896edd0349561ce14fe05394eea731fe9253c5cc (patch) | |
tree | 947a0b7adcbb4e8db485fa6406643a4ddf6440a3 /js/messaging.js | |
parent | absences null response text changed (diff) | |
download | beziapp-896edd0349561ce14fe05394eea731fe9253c5cc.tar beziapp-896edd0349561ce14fe05394eea731fe9253c5cc.tar.gz beziapp-896edd0349561ce14fe05394eea731fe9253c5cc.tar.bz2 beziapp-896edd0349561ce14fe05394eea731fe9253c5cc.tar.lz beziapp-896edd0349561ce14fe05394eea731fe9253c5cc.tar.xz beziapp-896edd0349561ce14fe05394eea731fe9253c5cc.tar.zst beziapp-896edd0349561ce14fe05394eea731fe9253c5cc.zip |
Diffstat (limited to '')
-rw-r--r-- | js/messaging.js | 4 |
1 files changed, 2 insertions, 2 deletions
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") |