add variable declaration

This commit is contained in:
Petr Moravek (sean) 2019-04-14 22:34:13 +02:00
parent 96bdc8dc09
commit f3cdcf313c
2 changed files with 2 additions and 0 deletions

View File

@ -1005,6 +1005,7 @@ const UI = {
if (port) { if (port) {
url += ':' + port; url += ':' + port;
} }
let token;
token = getQueryVar("token","nope"); token = getQueryVar("token","nope");
if (token=="nope") { if (token=="nope") {
url += '/' + path; url += '/' + path;

View File

@ -182,6 +182,7 @@
if(port) { if(port) {
url += ':' + port; url += ':' + port;
} }
let token;
token = getQueryVar("token","nope"); token = getQueryVar("token","nope");
if (token=="nope") { if (token=="nope") {
url += '/' + path; url += '/' + path;