Fix bug introduced in 2eecc2 defaulting markAsRead to false whether name suggests it should be true

This commit is contained in:
Tissevert 2018-11-22 23:09:43 +01:00
parent 865f7ce83e
commit fecad7171c

View file

@ -41,7 +41,7 @@ function Screen(dom) {
function markAsRead(yes) { function markAsRead(yes) {
if(yes == undefined) { if(yes == undefined) {
yes = false; yes = true;
} }
getTextZone().classList[yes ? 'add' : 'remove']('read'); getTextZone().classList[yes ? 'add' : 'remove']('read');
} }