mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Avoid window.open
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user