mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Do not use static and {{bind-attr}} for the same attribute.
No issue.
This commit is contained in:
parent
85a34f66c2
commit
b6676b38c7
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@
|
||||||
{{/gh-dropdown-button}}
|
{{/gh-dropdown-button}}
|
||||||
{{#gh-dropdown name="post-save-menu" closeOnClick="true" tagName="div" classNames="dropdown editor-options"}}
|
{{#gh-dropdown name="post-save-menu" closeOnClick="true" tagName="div" classNames="dropdown editor-options"}}
|
||||||
<ul class="dropdown-menu dropdown-triangle-bottom-right">
|
<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>
|
<a {{action "setSaveType" "publish"}} href="#">{{view.publishText}}</a>
|
||||||
</li>
|
</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>
|
<a {{action "setSaveType" "draft"}} href="#">{{view.draftText}}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="divider delete"></li>
|
<li class="divider delete"></li>
|
||||||
|
|
Loading…
Reference in a new issue