0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05: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:
Simon Backx 2022-05-10 12:12:27 +02:00
parent e12ab83bed
commit 95fa290fa8

View file

@ -55,7 +55,7 @@
</span>
</button>
{{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"}}
{{#if (eq @publishOptions.publishType "publish")}}
<div class="gh-publish-setting-trigger">