X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=d67cbc40a7ba4df0dd6db6ea27243572619b9ad2;hb=b87c6016ca5830f885ee261a1b2b9106c1247af5;hp=58917c93744e011296e1d51aa28ded57eebbb908;hpb=14faa7d69fc58b66a9a4ad408e233e6e178c6aa0;p=Sone.git diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 58917c9..d67cbc4 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -460,7 +460,7 @@ function updateTrustControls(soneId, trustValue) { getPostElement(this).find(".post-untrust").toggleClass("hidden", trustValue == null); } }); - $(this).find("#sone .reply").each(function() { + $("#sone .reply").each(function() { if (getReplyAuthor(this) == soneId) { getReplyElement(this).find(".reply-trust").toggleClass("hidden", trustValue != null); getReplyElement(this).find(".reply-distrust").toggleClass("hidden", (trustValue != null) && (trustValue < 0));