Update frontend JS
This commit is contained in:
parent
0a124c3e7b
commit
2e83366913
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ function tracker_onsend(e) {
|
|||
"/claim",
|
||||
"name="+window.encodeURI(name)+"&contact="+window.encodeURI(contact),
|
||||
function(r) {
|
||||
ui_tracker_send_loading(true);
|
||||
ui_tracker_send_loading(false);
|
||||
if (r.status == 200) {
|
||||
localStorage.setItem(app_key_id + "_last_cid", r.response);
|
||||
if (save_data) {
|
||||
|
@ -253,7 +253,7 @@ function _get_token() {
|
|||
if (parts.length != 2)
|
||||
return null
|
||||
else
|
||||
token = parts[1];
|
||||
token = parts[1].replace("-", ":");
|
||||
|
||||
if (localStorage.getItem("token") === null) {
|
||||
return token;
|
||||
|
|
Loading…
Reference in a new issue