FIX: Restore the unconditional yield in d-button (#22759)

Fixes bootstrap button tooltips
This commit is contained in:
Jarek Radosz 2023-07-24 15:15:03 +02:00 committed by GitHub
parent 5a36abd073
commit 6725a1d7bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,12 +64,12 @@ export default class DButton extends GlimmerComponentWithDeprecatedParentView {
… …
{{~/if~}} {{~/if~}}
</span> </span>
{{~else if (has-block)~}}
{{yield}}
{{~else~}} {{~else~}}
&#8203; &#8203;
{{! Zero-width space character, so icon-only button height = regular button height }} {{! Zero-width space character, so icon-only button height = regular button height }}
{{~/if~}} {{~/if~}}
{{yield}}
</button> </button>
</template> </template>