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