mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Use text() for the token
We don't need any HTML. Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ function updateTopLists() {
|
||||
|
||||
|
||||
function add(domain,list) {
|
||||
var token = $("#token").html();
|
||||
var token = $("#token").text();
|
||||
$.ajax({
|
||||
url: "scripts/pi-hole/php/add.php",
|
||||
method: "post",
|
||||
|
||||
Reference in New Issue
Block a user