Skip to content

Commit

Permalink
fixed whatsapp event
Browse files Browse the repository at this point in the history
  • Loading branch information
prakharjain3 committed Mar 21, 2023
1 parent 4d54faf commit 909e164
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/OverworldEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ class OverworldEvent {
}

redirectPerson(resolve) {
let newTab = this.event.newTab; // NOT WORKING. Always opening new tab
let link = this.event.link;
let newTab = this.event.newTab || false; // NOT WORKING. Always opening new tab
if(newTab) {
window.open(link, '_blank');
} else {
Expand Down
1 change: 1 addition & 0 deletions js/walls.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ const WALLS = {
[utils.asGridCoord(-4,32)]: true,
[utils.asGridCoord(0,30)]: true,

// these are the whatsapp tiles
[utils.asGridCoord(45,32)]: true,
[utils.asGridCoord(46,32)]: true,
};

0 comments on commit 909e164

Please sign in to comment.