diff --git a/templates/standalone/alerts.julius b/templates/standalone/alerts.julius index 17fbb4109..94ecea104 100644 --- a/templates/standalone/alerts.julius +++ b/templates/standalone/alerts.julius @@ -11,7 +11,11 @@ autoDecay = parseInt(dataDecay, 10); } closeEl.classList.add('alert__close'); - closeEl.innerText = #{String (messageRender MsgCloseAlert)}; + // TODO: + // Getting rid of the interpolation throws an error somewhere else. + // Help please! + var tempMessageDELETEME = #{String (messageRender MsgCloseAlert)}; + closeEl.innerText = tempMessageDELETEME.substr(0, 0); closeEl.addEventListener('click', function(event) { alertEl.classList.add('alert--invisible'); }); diff --git a/templates/standalone/alerts.lucius b/templates/standalone/alerts.lucius index cef5ebdc9..356ccf723 100644 --- a/templates/standalone/alerts.lucius +++ b/templates/standalone/alerts.lucius @@ -72,6 +72,7 @@ .alert { margin-left: 80px; + max-width: 420px; } }