[scaling] fix png icons injection on app launch

This commit is contained in:
maxkadushkin
2024-10-19 14:55:04 +03:00
parent 754e546a53
commit a2db66c183

View File

@ -998,7 +998,7 @@ define([
// $el.find('i.icon').after(svgIcon);
// }
if (ratio > 1 || ratio < 2) {
if (ratio > 1 && ratio < 2) {
if (!$el.find('i.icon').length) {
$el.find('svg.icon').after(`<i class="icon ${this.iconCls}">&nbsp;</i>`);
}