ThePinksterFull Member
Clicking the like for me (Edge, Win10 at the moment) doesn’t have any effect at all. If I hover over the like button goes dark grey but nothing changes once I’ve clicked it.
It’s a silly mistake in the javascript, this code:
postdata = {
‘action’: ‘rate_forum_post’,
‘post_id’: $(this).data(“post-id”),
‘nonce’: ajaxUrl.nonce
}
should just be:
let postdata = {
‘action’: ‘rate_forum_post’,
‘post_id’: $(this).data(“post-id”),
‘nonce’: ajaxUrl.nonce
}