Browse Source

fix #528: removed {{bind-attr}} helper

Rafał Pitoń 10 years ago
parent
commit
40381cc7e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/emberapp/app/templates/components/toast-message.hbs

+ 1 - 1
misago/emberapp/app/templates/components/toast-message.hbs

@@ -1,3 +1,3 @@
-<p {{bind-attr class="toast.isInfo:message-info toast.isSuccess:message-success toast.isWarning:message-warning toast.isError:message-danger"}}>
+<p class="{{if toast.isInfo "message-info"}} {{if toast.isSuccess "message-success"}} {{if toast.isWarning "message-warning"}} {{if toast.isError "message-danger"}}">
   {{toast.message}}
   {{toast.message}}
 </p>
 </p>