Skip to content

Commit

Permalink
remove open window
Browse files Browse the repository at this point in the history
  • Loading branch information
MinjiK committed Dec 18, 2023
1 parent fb7bd8d commit 9efca0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
var href = target.getAttribute('href');
if (href.startsWith('https://developers.amadeus.com')) {
event.preventDefault();
window.open(href, '_blank');
window.location.href = href;
}
}
});
Expand Down

0 comments on commit 9efca0a

Please sign in to comment.