FIX: Couldn't jump to small action posts

This commit is contained in:
Robin Ward 2016-02-12 13:49:31 -05:00
parent 878ced8920
commit c8f7e4d878
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ const icons = {
export default createWidget('post-small-action', {
tagName: 'div.small-action.onscreen-post.clearfix',
buildId(attrs) {
return `post_${attrs.post_number}`;
},
buildClasses(attrs) {
if (attrs.deleted) { return 'deleted'; }
},