This commit is contained in:
Kris 2019-03-07 13:30:39 -05:00
parent 837452794b
commit ccff1d2dbb
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ export default Ember.Component.extend(
this.set("hidden", false); this.set("hidden", false);
} }
buffer.push(`<a href='${href}'` + (this.get("active") ? 'class="active"' : '') + `>`); buffer.push(
`<a href='${href}'` + (this.get("active") ? 'class="active"' : "") + `>`
);
if (content.get("hasIcon")) { if (content.get("hasIcon")) {
buffer.push("<span class='" + content.get("name") + "'></span>"); buffer.push("<span class='" + content.get("name") + "'></span>");