From 18abdbd4d6f99a00af0ee4cda46ce958e1926bf4 Mon Sep 17 00:00:00 2001 From: Danny <58664892+HeyItsDanny@users.noreply.github.com> Date: Wed, 11 Sep 2024 23:52:16 +0200 Subject: [PATCH] Update guilds.ejs: fix site refresh after guild invite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “newWindow” was missing from the checkRefresh() function I have also revised the checkRefresh function: function checkRefresh(popup) { const interval = setInterval(() => { if (popup.closed) { clearInterval(interval); location.reload(); } }, 500); } --- views/guilds.ejs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/views/guilds.ejs b/views/guilds.ejs index 7654557c..7d181f3b 100644 --- a/views/guilds.ejs +++ b/views/guilds.ejs @@ -71,17 +71,19 @@ else icon = icon + "?size=256" %> - +
- <% } } } %>