I'm working around vote_up_down to hook a link into $links instead of using the widgets. However, I noticed when the comment widget was disabled, the comment 'reset vote' link disappeared too.

Thought it was a bug; peeked at the code. I considered that this might have been by design, since if vote reset is enabled, that link wouldn't disappear at all otherwise, even if voting wasn't desired on comments. But it seems to me it'd be better if it disappeared when both widget and vote total display are disabled; here's a quick patch doing just that.

CommentFileSizeAuthor
vote_up_down.module-resetlink.patch907 bytesNall

Comments

awong’s picture

The patch is working. I think it is a good idea to do that, then you have control on the link and widget

frjo’s picture

Assigned: Unassigned » frjo
Status: Needs review » Fixed

Works for me also. Committed to 5-dev. Thanks for the patch Nall.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.