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