mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -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', {
|
export default createWidget('post-small-action', {
|
||||||
tagName: 'div.small-action.onscreen-post.clearfix',
|
tagName: 'div.small-action.onscreen-post.clearfix',
|
||||||
|
|
||||||
|
buildId(attrs) {
|
||||||
|
return `post_${attrs.post_number}`;
|
||||||
|
},
|
||||||
|
|
||||||
buildClasses(attrs) {
|
buildClasses(attrs) {
|
||||||
if (attrs.deleted) { return 'deleted'; }
|
if (attrs.deleted) { return 'deleted'; }
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue