Download:
child 254:dca6cd4682e3
parent 252:faef9902f1d1
253:78fd658ef778
Anton Shestakov <av6@dwimlabs.net>, Thu, 17 Nov 2016 00:43:26 +0800
templates: use strict equals in collapser code

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
templates/check.html file | annotate | diff | comparison | revisions
--- a/templates/check.html Thu Nov 17 00:41:33 2016 +0800
+++ b/templates/check.html Thu Nov 17 00:43:26 2016 +0800
@@ -79,7 +79,7 @@
toggle();
});
var important = '.error, .warning, .failure, :target';
- if (task != 'checks' && $lines.filter(important).length === 0) {
+ if (task !== 'checks' && $lines.filter(important).length === 0) {
$collapser.addClass('collapsed');
toggle();
}