Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #182 from Wikia/XW-3104-fix
Browse files Browse the repository at this point in the history
XW-3104 | fix showTitle
  • Loading branch information
latata authored Oct 3, 2017
2 parents 747856a + 3c82771 commit 5fb14a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/article-media-thumbnail.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default Component.extend(
hasFigcaption: computed.or('caption', 'showTitle'),

showTitle: computed('type', function () {
return this.get('type') === 'video' || this.get('isOgg') && this.get('title');
return (this.get('type') === 'video' || this.get('isOgg')) && this.get('title');
}),

click(event) {
Expand Down

0 comments on commit 5fb14a0

Please sign in to comment.