X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=d5db8efc61ea8a5795c4405d3aafa7a72ab19db9;hp=dd3330831f7e58f5cddaf3bee7b88a83188e3e6e;hb=74223530641d7581c7d8f572e98eff1a01946ebd;hpb=a7e65e23d6dae37ebf88ba5a0eb58239205c7e2e diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index dd33308..d5db8ef 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1239,11 +1239,6 @@ function loadNewPost(postId, soneId, recipientId, time) { newPost = $(data.post.html).addClass("hidden"); if ($(".post-author-local", newPost).text() == "true") { newPost.removeClass("new"); - (function(newPost) { - setTimeout(function() { - markPostAsKnown(newPost, false); - }, 5000); - })(newPost); } if (firstOlderPost != null) { newPost.insertBefore(firstOlderPost);