Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Going to the top of the page after Thanking
Any thoughts on this? Some of my users are complaining that when they click Thank, it sends them automatically to the top of the page.
Tagged:
0
Comments
What version of Vanilla are you running? 2.0.18.8
This is the same issue of the JS not loading properly (or at all). With JS enabled, it will catch the click event and adds the thanks asynchronously. Without JS enabled, the link first registers the thanks the redirects back to the same page.
You could improve the case of JS not being loaded by adding an anchor to the target link.
In class.thankfulpeople.plugin.php replace the
public function DiscussionController_CommentOptions_Handler($Sender)
function with the following:Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.