X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=16c939104d3f0cad9ee03021aaded3319981df2a;hb=49d9495df2c569a03b24925e1b0f3c9bcbd2f379;hp=233a9cd0c164c5a79d4670548bd4428ffce34e6a;hpb=a19c6f5632d28cdcdf5023666d926d5929c347a1;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 233a9cd..16c9391 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -8,7 +8,7 @@ @@ -24,7 +24,7 @@ @@ -98,6 +98,14 @@ unlikePost(getPostId(this)); return false; }); + $("#sone .post .reply .status-line .like").submit(function() { + likeReply(getReplyId(this)); + return false; + }); + $("#sone .post .reply .status-line .unlike").submit(function() { + unlikeReply(getReplyId(this)); + return false; + }); });