Avoid window.open

Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
This commit is contained in:
Paul Mannarino
2021-11-30 23:08:26 -05:00
parent ee50954be7
commit cb6b3480a5
2 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ $(".api-token").confirm({
text: "Make sure that nobody else can scan this code around you. They will have full access to the API without having to know the password. Note that the generation of the QR code will take some time.",
title: "Confirmation required",
confirm: function () {
window.open("scripts/pi-hole/php/api_token.php");
window.open("scripts/pi-hole/php/api_token.php", "_blank");
},
cancel: function () {
// nothing to do