mirror of
https://github.com/flarum/core.git
synced 2025-07-21 16:51:34 +02:00
Fix incorrect class name
This commit is contained in:
@@ -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'),
|
||||||
|
Reference in New Issue
Block a user