mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
chore: add prefer template rule
This commit is contained in:
parent
27b3afbca7
commit
8cf9473c88
36 changed files with 277 additions and 276 deletions
|
@ -179,8 +179,8 @@ LogoManager.init = function (font, logoStartIndex) {
|
|||
this.logoStartIndex = logoStartIndex;
|
||||
// inject logo size variables for dynamic translation strings
|
||||
i18n.addResources({
|
||||
logoWidthPx: "" + this.constraints.imageSize.expectedWidth, // NOSONAR
|
||||
logoHeightPx: "" + this.constraints.imageSize.expectedHeight, // NOSONAR
|
||||
logoWidthPx: `${ this.constraints.imageSize.expectedWidth}`, // NOSONAR
|
||||
logoHeightPx: `${ this.constraints.imageSize.expectedHeight}`, // NOSONAR
|
||||
});
|
||||
// find/cache DOM elements
|
||||
Object.keys(this.elements).forEach(key => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue