summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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', {