From ed4ae36c44d374ef2469f3030ff78ff20d812424 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Fri, 12 Jul 2024 20:54:07 +1200 Subject: [PATCH] show sending state for send message button as finding path could take some time --- public/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 27c8764..568b1b6 100644 --- a/public/index.html +++ b/public/index.html @@ -757,7 +757,8 @@ @@ -3096,6 +3097,11 @@ return false; } + // can't send if already sending + if(this.isSendingMessage){ + return false; + } + return true; },