mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 19:29:20 +01:00
Use text() for the token
We don't need any HTML. Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ function eventsource() {
|
||||
var ta = $("#output");
|
||||
var upload = $( "#upload" );
|
||||
var checked = "";
|
||||
var token = encodeURIComponent($("#token").html());
|
||||
var token = encodeURIComponent($("#token").text());
|
||||
|
||||
if(upload.prop("checked"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user