Fixes #1157
@@ -14,6 +14,8 @@ class app.views.Mobile extends app.View
after: 'afterRoute'
@detect: ->
+ if Cookies.get('override-mobile-detect')?
+ return JSON.parse Cookies.get('override-mobile-detect')
try
(window.matchMedia('(max-width: 480px)').matches) or
(window.matchMedia('(max-width: 767px)').matches) or