X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=6afb2322d6e32c655aaf290f219085fb6cf4e7d2;hp=e27124661b0b7d52c26e611091815cf8105bae91;hb=8d7400f3774c9f7881f7d3cbc971abe4b97d5121;hpb=e174a13df3a9de5ab54ede5f2aa761c7727bfaff diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index e271246..6afb232 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -874,7 +874,7 @@ function ajaxifyPost(postElement) { } }); (function(postElement) { - var soneId = $(".sone-menu-id", postElement).text(); + var soneId = $(".sone-menu-id:first", postElement).text(); $(".sone-post-menu .follow", postElement).click(function() { var followElement = this; ajaxGet("followSone.ajax", { "sone": soneId, "formPassword": getFormPassword() }, function() {