1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:38:59 +01:00

Improve JS

This commit is contained in:
Daniil Gentili 2023-06-18 22:50:54 +02:00
parent f62ee8f426
commit 7600066a83
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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;