Fix Bug 46597

This commit is contained in:
Julia Radzhabova 2020-10-15 18:19:05 +03:00
parent cb61ccb5f3
commit e88d1b6518

View file

@ -301,7 +301,7 @@ define([
if (callback) { if (callback) {
this.spriteThumbs = new Image(); this.spriteThumbs = new Image();
this.spriteThumbs.onload = callback; this.spriteThumbs.onload = callback;
this.spriteThumbs.src = (window.devicePixelRatio > 1) ? thumbPath2x : thumbPath; this.spriteThumbs.src = isRetina ? thumbPath2x : thumbPath;
} }
}, },