Skip to content

Commit

Permalink
Open links in secure new tabs (#1451)
Browse files Browse the repository at this point in the history
* secure links

* another link
  • Loading branch information
tooomm committed Oct 29, 2023
1 parent ea3a1d3 commit a5533dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/game.js
Expand Up @@ -589,7 +589,7 @@ module.exports = class Game extends Room {
this.players.forEach(player => {
if (!player.isBot) {
player.exit();
player.err("Whoops! An error occurred while starting the game. Please try again later. If the problem persists, you can open an issue on the Github repository: <a href='https://github.com/dr4fters/dr4ft/issues'>https://github.com/dr4fters/dr4ft/issues</a>");
player.err("Whoops! An error occurred while starting the game. Please try again later. If the problem persists, you can open an issue on the Github repository: <a href='https://github.com/dr4fters/dr4ft/issues' target='_blank' rel='noreferrer'>https://github.com/dr4fters/dr4ft/issues</a>");
}
});
Rooms.delete(this.id);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/config.js
Expand Up @@ -14,7 +14,7 @@ export const STRINGS = {
FOOTER:
<div style={{ padding: 10 }}>
Contributions welcome! &nbsp;
<a href='https://github.com/dr4fters/dr4ft'>
<a href='https://github.com/dr4fters/dr4ft' target='_blank' rel='noreferrer'>
<img
src='https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg'
alt='GitHub' title='GitHub Repository' align='top' height='18'
Expand Down

0 comments on commit a5533dc

Please sign in to comment.