Fix bug introduced in 2eecc2 defaulting markAsRead to false whether name suggests it should be true
This commit is contained in:
parent
865f7ce83e
commit
fecad7171c
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue