Just a couple silly things
This commit is contained in:
parent
f782b0d3c0
commit
b1ca573935
@ -9511,11 +9511,7 @@
|
||||
threadID: thread.ID,
|
||||
postID: ID
|
||||
};
|
||||
if (QR.db.get(data)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return (QR.db.get(data) ? true : false);
|
||||
} : function() {
|
||||
return false;
|
||||
};
|
||||
|
||||
@ -9494,11 +9494,7 @@
|
||||
threadID: thread.ID,
|
||||
postID: ID
|
||||
};
|
||||
if (QR.db.get(data)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return (QR.db.get(data) ? true : false);
|
||||
} : function() {
|
||||
return false;
|
||||
};
|
||||
|
||||
@ -14,7 +14,7 @@ Unread =
|
||||
boardID: board.ID
|
||||
threadID: thread.ID
|
||||
postID: ID
|
||||
return if QR.db.get data then true else false
|
||||
return (if QR.db.get data then true else false)
|
||||
else ->
|
||||
return false
|
||||
|
||||
@ -158,7 +158,7 @@ Unread =
|
||||
saveLastReadPost: $.debounce 2 * $.SECOND, ->
|
||||
return if Unread.thread.isDead
|
||||
Unread.db.set
|
||||
boardID: Unread.thread.board.ID
|
||||
boardID: Unread.thread.board.ID
|
||||
threadID: Unread.thread.ID
|
||||
val: Unread.lastReadPost
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user