mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 17:12:46 +08:00
Fix incorrect class name
This commit is contained in:
parent
456af4273b
commit
102a9e498e
|
@ -10,7 +10,7 @@ export default class EventPost extends Post {
|
|||
var user = post.user();
|
||||
|
||||
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([
|
||||
icon(iconName+' post-icon'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user