Download:
child 135:74b36212f1f9
parent 133:785475a2d155
134:c750ded699ca
Anton Shestakov <av6@dwimlabs.net>, Tue, 12 Jul 2016 23:45:37 +0800
viewer: also don't collapse on failures

1 файлов изменено, 2 вставок(+), 1 удалений(-) [+]
templates/check.html file | annotate | diff | comparison | revisions
--- a/templates/check.html Tue Jul 12 16:37:09 2016 +0800
+++ b/templates/check.html Tue Jul 12 23:45:37 2016 +0800
@@ -78,7 +78,8 @@
$collapser.toggleClass('collapsed');
toggle();
});
- if (task != 'checks' && $lines.filter('.error, .warning, :target').length === 0) {
+ var important = '.error, .warning, .failure, :target';
+ if (task != 'checks' && $lines.filter(important).length === 0) {
$collapser.addClass('collapsed');
toggle();
}