Reset lastMojangServiceUpdate on disconnect
This commit is contained in:
parent
0561b84448
commit
26939910dc
@ -211,6 +211,8 @@ $(document).ready(function() {
|
|||||||
if (mojangServicesUpdater) clearInterval(mojangServicesUpdater);
|
if (mojangServicesUpdater) clearInterval(mojangServicesUpdater);
|
||||||
if (sortServersTask) clearInterval(sortServersTask);
|
if (sortServersTask) clearInterval(sortServersTask);
|
||||||
|
|
||||||
|
lastMojangServiceUpdate = undefined;
|
||||||
|
|
||||||
$('#tagline').attr('class', 'status-offline');
|
$('#tagline').attr('class', 'status-offline');
|
||||||
$('#tagline-text').text('Disconnected! Refresh?');
|
$('#tagline-text').text('Disconnected! Refresh?');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user