projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix replies not being marked as known in other tabs.
[Sone.git]
/
src
/
main
/
resources
/
static
/
javascript
/
sone.js
diff --git
a/src/main/resources/static/javascript/sone.js
b/src/main/resources/static/javascript/sone.js
index
29c5420
..
ca80b48
100644
(file)
--- a/
src/main/resources/static/javascript/sone.js
+++ b/
src/main/resources/static/javascript/sone.js
@@
-1141,7
+1141,7
@@
function checkForRemovedPosts(oldNotification, newNotification) {
* The new notification element
*/
function checkForRemovedReplies(oldNotification, newNotification) {
* The new notification element
*/
function checkForRemovedReplies(oldNotification, newNotification) {
- if (getNotificationId(oldNotification) != "new-repl
ies
-notification") {
+ if (getNotificationId(oldNotification) != "new-repl
y
-notification") {
return;
}
oldIds = getElementIds(oldNotification, ".reply-id");
return;
}
oldIds = getElementIds(oldNotification, ".reply-id");
@@
-1185,7
+1185,7
@@
function getStatus() {
postId = $(this).text();
markPostAsKnown(getPost(postId), true);
});
postId = $(this).text();
markPostAsKnown(getPost(postId), true);
});
- } else if (notificationId == "new-repl
ies
-notification") {
+ } else if (notificationId == "new-repl
y
-notification") {
$(".reply-id", this).each(function(index, element) {
replyId = $(this).text();
markReplyAsKnown(getReply(replyId), true);
$(".reply-id", this).each(function(index, element) {
replyId = $(this).text();
markReplyAsKnown(getReply(replyId), true);