Ensure that errors div is visible when rendering new error

This commit is contained in:
Łukasz Mierzwa
2017-04-01 00:36:59 -07:00
parent 6302af62ea
commit 94a48c7e3a

View File

@@ -26,7 +26,7 @@ var Watchdog = (function() {
$('#errors').html(haml.compileHaml('fatal-error')({
last_ts: lastTs,
seconds_left: fatalCountdown
}));
})).show();
Counter.Unknown();
if (!inCountdown) {
fatalCountdown = 60;