Update badge-card.js.es6

This commit is contained in:
Mittineague 2016-07-03 14:14:07 -04:00 committed by GitHub
parent 322d3e8a9c
commit dc89fc0fbd
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import DiscourseURL from 'discourse/lib/url';
export default Ember.Component.extend({
size: 'medium',
classNameBindings: [':badge-card', 'size', 'navigateOnClick:hyperlink'],
classNameBindings: [':badge-card', 'size', 'badge.slug', 'navigateOnClick:hyperlink'],
click(e){
if (e.target && e.target.nodeName === "A") {