mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Fix incorrect class name
This commit is contained in:
parent
741da52ccd
commit
57df38e85a
|
@ -10,7 +10,7 @@ export default class EventPost extends Post {
|
||||||
var user = post.user();
|
var user = post.user();
|
||||||
|
|
||||||
attrs = attrs || {};
|
attrs = attrs || {};
|
||||||
attrs.className = 'event-post post-'+dasherize(post.contentType())+' '+(attrs.className || '');
|
attrs.className = 'event-post '+dasherize(post.contentType())+'-post '+(attrs.className || '');
|
||||||
|
|
||||||
return super.view([
|
return super.view([
|
||||||
icon(iconName+' post-icon'),
|
icon(iconName+' post-icon'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user