From 548796db5007bb36849b04fddbf2747924e67f4a Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Tue, 16 Apr 2024 15:35:46 +0800 Subject: [PATCH] MDL-81556 tiny_media: Remove unnecessary labels * Remove usage of label tags that are not associated with any form elements. * Remove setting of title for the label tags. This is not necessary as the title text is the same as the text showed in the label. --- .../templates/insert_image_modal_details_footer.mustache | 2 +- .../templates/insert_image_modal_insert_footer.mustache | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/editor/tiny/plugins/media/templates/insert_image_modal_details_footer.mustache b/lib/editor/tiny/plugins/media/templates/insert_image_modal_details_footer.mustache index d4beb9c9fee..574fbc0ca8b 100644 --- a/lib/editor/tiny/plugins/media/templates/insert_image_modal_details_footer.mustache +++ b/lib/editor/tiny/plugins/media/templates/insert_image_modal_details_footer.mustache @@ -29,7 +29,7 @@
- +
diff --git a/lib/editor/tiny/plugins/media/templates/insert_image_modal_insert_footer.mustache b/lib/editor/tiny/plugins/media/templates/insert_image_modal_insert_footer.mustache index aa7e1434e96..3284935c58f 100644 --- a/lib/editor/tiny/plugins/media/templates/insert_image_modal_insert_footer.mustache +++ b/lib/editor/tiny/plugins/media/templates/insert_image_modal_insert_footer.mustache @@ -33,12 +33,11 @@
{{#showdropzone}} - + {{/showdropzone}} {{^showdropzone}} - + {{/showdropzone}} -