X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=a43131a61d34e5a64eb7c794eeb1e1d3b3023934;hb=16a69fdf1e4d4b7852ca8e2abdfd09470207ec6b;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..a43131a 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -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; + }); });