mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-13 22:53:32 +03:00
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:
commit
959ebfcad7
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user