From c58f3b1c9bc094c81eda896d67c788d13bf2e3a5 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 9 Nov 2020 00:29:15 +0000 Subject: [PATCH] Fix upload attempt to undefined again --- js/message-creator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/message-creator.js b/js/message-creator.js index 009c07d..59d8729 100644 --- a/js/message-creator.js +++ b/js/message-creator.js @@ -49,7 +49,7 @@ async function doUpload(data){ return } const curNode = getCurrentNode() - if (typeof curNode == "undefined"){ + if (typeof curNode == "undefined" || curNode === "undefined.onion"){ setTimeout(function(){ doUpload(data) }, 1000)