mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 08:55:16 +08:00
[scaling] fix png icons injection on app launch
This commit is contained in:
@ -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}"> </i>`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user