Skip to content

Commit

Permalink
Merge pull request TryGhost#4743 from rwjblue/remove-double-class-ass…
Browse files Browse the repository at this point in the history
…ignment

Do not use static and {{bind-attr}} for the same attribute.
  • Loading branch information
jaswilli committed Jan 1, 2015
2 parents 85a34f6 + b6676b3 commit 959ebfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/client/templates/editor-save-button.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 959ebfc

Please sign in to comment.