[common] changed scaling condition
This commit is contained in:
parent
71592eb4be
commit
0dde4f283a
|
@ -140,7 +140,7 @@ Common.Utils = _.extend(new(function() {
|
|||
if ( scale.devicePixelRatio < 1.5 ) {
|
||||
$root.removeClass('pixel-ratio__1_5 pixel-ratio__2');
|
||||
} else
|
||||
if ( !(scale.devicePixelRatio < 1.5) && !(scale.devicePixelRatio > 2) ) {
|
||||
if ( !(scale.devicePixelRatio < 1.5) && scale.devicePixelRatio < 2 ) {
|
||||
$root.removeClass('pixel-ratio__2');
|
||||
$root.addClass('pixel-ratio__1_5');
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue