UX: Logs notice close button not positioned properly.

This commit is contained in:
Guo Xiang Tan 2016-03-26 11:51:11 +08:00
parent 8a8d931688
commit ef6536453b
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ export default Ember.Component.extend(StringBuffer, {
if (notices.length > 0) { if (notices.length > 0) {
buffer.push(_.map(notices, n => { buffer.push(_.map(notices, n => {
var html = `<div class='row'><div class='alert alert-info ${n[1]}'>${n[0]}`; var html = `<div class='row'><div class='alert alert-info ${n[1]}'>`;
if (n[2]) html += n[2]; if (n[2]) html += n[2];
html += '</div></div>'; html += `${n[0]}</div></div>`;
return html; return html;
}).join("")); }).join(""));
} }