summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-08 22:23:48 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-08 22:23:48 +0100
commitd44e7d098f619df0ed7792e2d216af31b4ffba4d (patch)
treedca59799136c10d3318f933423b6e8cb463faa50
parente (diff)
downloadbeziapp-d44e7d098f619df0ed7792e2d216af31b4ffba4d.tar
beziapp-d44e7d098f619df0ed7792e2d216af31b4ffba4d.tar.gz
beziapp-d44e7d098f619df0ed7792e2d216af31b4ffba4d.tar.bz2
beziapp-d44e7d098f619df0ed7792e2d216af31b4ffba4d.tar.lz
beziapp-d44e7d098f619df0ed7792e2d216af31b4ffba4d.tar.xz
beziapp-d44e7d098f619df0ed7792e2d216af31b4ffba4d.tar.zst
beziapp-d44e7d098f619df0ed7792e2d216af31b4ffba4d.zip
-rw-r--r--js/messaging.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/messaging.js b/js/messaging.js
index 2f5e767..9ae0b99 100644
--- a/js/messaging.js
+++ b/js/messaging.js
@@ -12,7 +12,10 @@ const API_ENDPOINT = "https://gimb.tk/test.php";
// const API_ENDPOINT = "http://localhost:5000/test.php";
var receivedmessages = null;
-
+if(window.location.search.substring(1)) {
+ document.getElementById("full_name").value = window.location.search.substring(1);
+ validateName();
+}
loadMessages(true, 0);
localforage.setItem('directory', {