BUGFIX: show usernames logic, logic failure

This commit is contained in:
Sam 2014-05-19 09:11:01 +10:00
parent 832a730e36
commit 8bc8052ab8
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ var PosterNameComponent = Em.Component.extend({
buffer.push("</span>");
// Are we showing full names?
if (name && (name === username) && this.get('displayNameOnPosts')) {
if (name && (name !== username) && this.get('displayNameOnPosts')) {
buffer.push("<span class='full-name'><a href='#'>" + name + "</a></span>");
}

View File

@ -5,7 +5,7 @@
}
span {
font-size: 13px;
padding-right: 4px;
padding-right: 8px;
a {
color: scale-color($primary, $lightness: 30%);
}