UX: Hide/show preview button title attribute fix (#28155)
This commit is contained in:
parent
a32390f5dc
commit
fa3f50efd0
|
@ -332,7 +332,7 @@
|
||||||
class="btn btn-default no-text mobile-preview"
|
class="btn btn-default no-text mobile-preview"
|
||||||
title={{i18n "composer.show_preview"}}
|
title={{i18n "composer.show_preview"}}
|
||||||
{{on "click" this.composer.togglePreview}}
|
{{on "click" this.composer.togglePreview}}
|
||||||
aria-label={{i18n "preview"}}
|
aria-label={{i18n "composer.show_preview"}}
|
||||||
>
|
>
|
||||||
{{d-icon "desktop"}}
|
{{d-icon "desktop"}}
|
||||||
</a>
|
</a>
|
||||||
|
@ -340,6 +340,7 @@
|
||||||
{{#if this.composer.showPreview}}
|
{{#if this.composer.showPreview}}
|
||||||
<DButton
|
<DButton
|
||||||
@action={{this.composer.togglePreview}}
|
@action={{this.composer.togglePreview}}
|
||||||
|
@title="composer.hide_preview"
|
||||||
@ariaLabel="composer.hide_preview"
|
@ariaLabel="composer.hide_preview"
|
||||||
@icon="pencil-alt"
|
@icon="pencil-alt"
|
||||||
class="hide-preview"
|
class="hide-preview"
|
||||||
|
|
Loading…
Reference in New Issue