Fixed mobile checks

Closes #577
This commit is contained in:
Igor Zhukov 2014-11-17 14:10:09 +03:00
parent c0458bb563
commit 3a1338b977

View File

@ -3956,8 +3956,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
Storage.get('layout_confirmed').then(function (result) {
if (result &&
(result.mobile
? width <= result.width
: width >= result.width
? width == result.width
: width == result.width
)
) {
return false;