mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 21:03:29 +03:00
Fixed button type on div causing button appearance in Safari
no issue In Safari, the second dropdown looked a bit weird when you select 'publish only' because of type=button being used on a div.
This commit is contained in:
parent
e12ab83bed
commit
95fa290fa8
@ -55,7 +55,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div type="button" class="gh-publish-setting-title {{if (eq @publishOptions.publishType "publish") "disabled"}}">
|
<div class="gh-publish-setting-title {{if (eq @publishOptions.publishType "publish") "disabled"}}">
|
||||||
{{svg-jar "member"}}
|
{{svg-jar "member"}}
|
||||||
{{#if (eq @publishOptions.publishType "publish")}}
|
{{#if (eq @publishOptions.publishType "publish")}}
|
||||||
<div class="gh-publish-setting-trigger">
|
<div class="gh-publish-setting-trigger">
|
||||||
@ -110,4 +110,4 @@
|
|||||||
<div class="gh-publish-cta">
|
<div class="gh-publish-cta">
|
||||||
<button type="button" class="gh-btn gh-btn-black gh-btn-large" {{on "click" @confirm}}><span>Continue, final review →</span></button>
|
<button type="button" class="gh-btn gh-btn-black gh-btn-large" {{on "click" @confirm}}><span>Continue, final review →</span></button>
|
||||||
<button type="button" class="gh-btn gh-btn-link gh-btn-large gh-publish-cta-secondary" {{on "click" @close}}>Back to editor</button>
|
<button type="button" class="gh-btn gh-btn-link gh-btn-large gh-publish-cta-secondary" {{on "click" @close}}>Back to editor</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user