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

@@ -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"))
{