Use text() for the token

We don't need any HTML.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2019-12-17 15:55:02 +02:00
parent 8c20ac58b9
commit f486935eb8
6 changed files with 6 additions and 6 deletions

View File

@@ -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",