mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 11:53:55 +08:00
FIX: Restore the unconditional yield in d-button (#22759)
Fixes bootstrap button tooltips
This commit is contained in:
parent
5a36abd073
commit
6725a1d7bd
|
@ -64,12 +64,12 @@ export default class DButton extends GlimmerComponentWithDeprecatedParentView {
|
||||||
…
|
…
|
||||||
{{~/if~}}
|
{{~/if~}}
|
||||||
</span>
|
</span>
|
||||||
{{~else if (has-block)~}}
|
|
||||||
{{yield}}
|
|
||||||
{{~else~}}
|
{{~else~}}
|
||||||
​
|
​
|
||||||
{{! 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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user