0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed click on "Members-only" radio button in PSM not changing selection

no issue

- moved click handler so it applies to the whole button/field/select element
This commit is contained in:
Kevin Ansfield 2021-05-11 12:14:14 +01:00
parent df835fd4e2
commit 0357b984fb

View file

@ -90,10 +90,11 @@
</div>
<div
class="gh-radio {{if (not this.post.isPublic) "active"}}"
{{on "click" (action "setVisibility" this.post.visibilitySegment)}}
>
<div class="gh-radio-button"></div>
<div class="gh-radio-content">
<div class="gh-radio-label" {{on "click" (action "setVisibility" this.post.visibilitySegment)}}>Members-only</div>
<div class="gh-radio-label">Members-only</div>
<div class="gh-radio-desc">
<GhMembersSegmentSelect
@segment={{this.post.visibilitySegment}}