Reset lastMojangServiceUpdate on disconnect

This commit is contained in:
Nick Keeper 2016-04-26 15:15:39 -05:00
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?');