X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=3c229e0c0b13e54aa88bbbc92ca50ecc21bd953c;hb=9d08948109a22cc7b0fa498efa42a098f6924a07;hp=cd34ed28259407e98acbb0c4d57db90c1d67a8b3;hpb=c731d14a20122ba8c02db2381305e821ad367712;p=Sone.git diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index cd34ed2..3c229e0 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -716,9 +716,9 @@ function loadNewPost(postId, soneId, recipientId, time) { return; } } - if (getPostTime($("#sone .post").last()) > time) { - return; - } + } + if (getPostTime($("#sone .post").last()) > time) { + return; } $.getJSON("getPost.ajax", { "post" : postId }, function(data, textStatus) { if ((data != null) && data.success) {