X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=a43131a61d34e5a64eb7c794eeb1e1d3b3023934;hb=16a69fdf1e4d4b7852ca8e2abdfd09470207ec6b;hp=797e7a90bdcfdc06f9d34f18519a628e1c1280f6;hpb=68f8e5e5c34fad6086af0c82d1dde64f67814297;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 797e7a9..a43131a 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,4 +1,4 @@ -
+
<% formPassword|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; + }); });