mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:38:59 +01:00
Improve JS
This commit is contained in:
parent
f62ee8f426
commit
7600066a83
@ -255,7 +255,7 @@ trait Start
|
||||
x.onload = function() {
|
||||
var res = JSON.parse(this.responseText);
|
||||
if (res.logged_in) {
|
||||
location.reload();
|
||||
window.location = window.location;
|
||||
} else {
|
||||
document.getElementById("qr-code-container").style = "";
|
||||
document.getElementById("qr-code").innerHTML = res.svg;
|
||||
|
Loading…
Reference in New Issue
Block a user