added reconnecting message
This commit is contained in:
parent
3823592db1
commit
6d8724b5d7
@ -61,6 +61,13 @@ Meteor.autorun(function () { // Disconnect checking
|
||||
timeout: 1500
|
||||
});
|
||||
});
|
||||
} else if(Meteor.status().status === "connecting" && document.getElementById("disconnect") !== null) {
|
||||
if(document.getElementById("disconnectLoad") !== null) return;
|
||||
var h1 = document.createElement("h4");
|
||||
h1.appendChild(document.createTextNode("Reconnecting..."));
|
||||
h1.id = "disconnectLoad";
|
||||
document.getElementById("disconnect").appendChild(h1);
|
||||
$("#disconnectLoad").velocity("fadeIn", 150);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user