X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=502413a8d1cb217041d64d66f1ef554f16edb250;hb=5ad81c950618c03c62527bf05f95350b5f13f0bc;hp=13d990dd9112530c53cc8bd2e1df1958bc05713b;hpb=361453d9f99f1580ec79b6618bddd6a379523318;p=Sone.git diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 13d990d..502413a 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -25,7 +25,7 @@ function addCommentLinks() { $("#sone .post").each(function() { postId = $(this).attr("id"); commentElement = (function(postId) { - var commentElement = $("
Comment
").addClass("show-reply-form").click(function() { + var commentElement = $("
Comment
").addClass("show-reply-form").click(function() { replyElement = $("#sone .post#" + postId + " .create-reply"); replyElement.removeClass("hidden"); replyElement.removeClass("light");