mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
FIX: Couldn't jump to small action posts
This commit is contained in:
parent
878ced8920
commit
c8f7e4d878
1 changed files with 4 additions and 0 deletions
|
@ -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'; }
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue