diff --git a/scripts/pi-hole/js/groups-adlists.js b/scripts/pi-hole/js/groups-adlists.js index 53a137ba..f4c3ced7 100644 --- a/scripts/pi-hole/js/groups-adlists.js +++ b/scripts/pi-hole/js/groups-adlists.js @@ -9,7 +9,7 @@ var table; var groups = []; -var token = $("#token").html(); +var token = $("#token").text(); var info = null; function showAlert(type, icon, title, message) { diff --git a/scripts/pi-hole/js/groups-clients.js b/scripts/pi-hole/js/groups-clients.js index 68fbed9e..2de8d1d5 100644 --- a/scripts/pi-hole/js/groups-clients.js +++ b/scripts/pi-hole/js/groups-clients.js @@ -7,7 +7,7 @@ var table; var groups = []; -var token = $("#token").html(); +var token = $("#token").text(); var info = null; function showAlert(type, icon, title, message) { diff --git a/scripts/pi-hole/js/groups-domains.js b/scripts/pi-hole/js/groups-domains.js index b83c5296..e09d3062 100644 --- a/scripts/pi-hole/js/groups-domains.js +++ b/scripts/pi-hole/js/groups-domains.js @@ -9,7 +9,7 @@ var table; var groups = []; -var token = $("#token").html(); +var token = $("#token").text(); var info = null; function showAlert(type, icon, title, message) { diff --git a/scripts/pi-hole/js/groups.js b/scripts/pi-hole/js/groups.js index b7ec372c..b3af908c 100644 --- a/scripts/pi-hole/js/groups.js +++ b/scripts/pi-hole/js/groups.js @@ -8,7 +8,7 @@ /* global moment:false */ var table; -var token = $("#token").html(); +var token = $("#token").text(); var info = null; function showAlert(type, icon, title, message) {