From 4d54faf40a73d5c45aef77f7cee70ae8a966e6c7 Mon Sep 17 00:00:00 2001 From: Prakhar Jain Date: Tue, 21 Mar 2023 15:31:19 +0530 Subject: [PATCH] fixed whatsapp event as the link is broken --- js/OverworldEvent.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/OverworldEvent.js b/js/OverworldEvent.js index 3f611bd..f192937 100644 --- a/js/OverworldEvent.js +++ b/js/OverworldEvent.js @@ -75,13 +75,7 @@ class OverworldEvent { } redirectPerson(resolve) { - let link = this.event.link || true; - - if(link === true) { - return ; - } - - let newTab = this.event.newTab; // NOT WORKING. Always opening new tab + let newTab = this.event.newTab; // NOT WORKING. Always opening new tab if(newTab) { window.open(link, '_blank'); } else {