X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=414dd02d3153ff7529fad43c20e44651e11eb79c;hp=d9c2fb3d3d8d54d8ee673376f81a076608878dda;hb=81ebd8d01efe947d6c2e4f0fe263730c59ff6dca;hpb=480691a26222e035e53bda56029524e160fdf898 diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index d9c2fb3..414dd02 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1949,7 +1949,7 @@ $(document).ready(function() { allReplies = $(this).find(".reply"); if (allReplies.length > 2) { newHidden = false; - for (replyIndex = 0; !newHidden && (replyIndex < (allReplies.length - 2)); ++replyIndex) { + for (replyIndex = 0; replyIndex < (allReplies.length - 2); ++replyIndex) { $(allReplies[replyIndex]).addClass("hidden"); newHidden |= $(allReplies[replyIndex]).hasClass("new"); }