1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-30 21:40:00 +00:00

Better test output html file

This commit is contained in:
OzzieIsaacs 2020-08-28 16:51:43 +02:00
parent 6c552f6b43
commit 36cbc42363

View File

@ -42,6 +42,15 @@ function showCase(level) {
row.classList.add('hiddenRow'); row.classList.add('hiddenRow');
} }
} }
// Show error if all or error or summary problems selected
if (id.substr(0,2) == 'su') {
if (level == 0 || level == 2) {
row.classList.remove('hiddenRow');
}
else {
row.classList.add('hiddenRow');
}
}
} }
} }