Merge pull request #4743 from rwjblue/remove-double-class-assignment

Do not use static and {{bind-attr}} for the same attribute.
This commit is contained in:
Jason Williams 2015-01-01 09:12:49 -06:00
commit 959ebfcad7

View File

@ -5,10 +5,10 @@
{{/gh-dropdown-button}}
{{#gh-dropdown name="post-save-menu" closeOnClick="true" tagName="div" classNames="dropdown editor-options"}}
<ul class="dropdown-menu dropdown-triangle-bottom-right">
<li class="post-save-publish" {{bind-attr class="willPublish:active"}}>
<li {{bind-attr class=":post-save-publish willPublish:active"}}>
<a {{action "setSaveType" "publish"}} href="#">{{view.publishText}}</a>
</li>
<li class="post-save-draft" {{bind-attr class="willPublish::active"}}>
<li {{bind-attr class=":post-save-draft willPublish::active"}}>
<a {{action "setSaveType" "draft"}} href="#">{{view.draftText}}</a>
</li>
<li class="divider delete"></li>