Skip to content

Commit

Permalink
fixed whatsapp event as the link is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
prakharjain3 committed Mar 21, 2023
1 parent b6fadd8 commit 4d54faf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions js/OverworldEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4d54faf

Please sign in to comment.