Avoid a bit of confusing code duplication in .js code

Change-Id: I0cd203e3b2f7ad2be873b92325b80cde462124a5
This commit is contained in:
thiemowmde
2024-04-04 09:00:09 +02:00
committed by jenkins-bot
parent 7a04a816ce
commit 23f64d03f5
2 changed files with 15 additions and 16 deletions

View File

@@ -481,8 +481,7 @@
// uls-ui-font-selector-label
// uls-content-font-selector-label
$fontLabel = this.$template.find( '#' + target + '-font-selector-label' );
$fontLabel.empty();
$fontLabel.append( $( '<strong>' ) );
$fontLabel.empty().append( $( '<strong>' ) );
// Possible messages:
// ext-uls-webfonts-select-for-ui-info