projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check and remove “new” class from correct element.
[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
35db2d6
..
0cc6480
100644
(file)
--- a/
src/main/resources/static/javascript/sone.js
+++ b/
src/main/resources/static/javascript/sone.js
@@
-1276,8
+1276,8
@@
function loadNewReply(replyId, soneId, postId, postSoneId) {
}
});
newReply = $(data.reply.html).addClass("hidden");
}
});
newReply = $(data.reply.html).addClass("hidden");
- if ($(".reply-author-local", new
Post
).text() == "true") {
- new
Post
.removeClass("new");
+ if ($(".reply-author-local", new
Reply
).text() == "true") {
+ new
Reply
.removeClass("new");
(function(newReply) {
setTimeout(function() {
markReplyAsKnown(newReply, false);
(function(newReply) {
setTimeout(function() {
markReplyAsKnown(newReply, false);