Make sure all links will open a new tab instead of exiting the application

This commit is contained in:
Jérémie Astori 2017-12-24 18:27:37 -05:00
parent 238e894377
commit 3eb429dde3
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -21,6 +21,8 @@ function requestIfNeeded() {
socket.on("changelog", function(data) {
// 1. Release notes window for the current version
$("#changelog").html(templates.windows.changelog(data.current));
// Make sure all links will open a new tab instead of exiting the application
$("#changelog .changelog-text a").attr("target", "_blank");
// 2. Version checker visible in Help window
let status;