From 3a1338b97773f01e7150f3b788c5daffdd505167 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 17 Nov 2014 14:10:09 +0300 Subject: [PATCH] Fixed mobile checks Closes #577 --- app/js/services.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/services.js b/app/js/services.js index 8144a57a..ca6268db 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -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;