Fix incorrect class name

This commit is contained in:
Toby Zerner 2015-05-29 18:55:29 +09:30
parent 741da52ccd
commit 57df38e85a

View File

@ -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'),