Skip to content

Commit

Permalink
Merge pull request #210 from amadeus4dev/1218
Browse files Browse the repository at this point in the history
remove open window
  • Loading branch information
minjikarin authored Dec 18, 2023
2 parents 7b1094c + 9efca0a commit f978bfe
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 f978bfe

Please sign in to comment.