From 53a4a6a0109d3defbbb8c70fa9bf8fce1ba1e508 Mon Sep 17 00:00:00 2001 From: Paul Adam Davis Date: Tue, 2 Sep 2014 22:20:16 +0100 Subject: [PATCH] Enlarge mobile matchMedia max-width Closes #3941 It now matches the mobile MQ in CSS - https://github.com/TryGhost/Ghost/blob/master/core/client/assets/sass/components/navigation.scss#L163 --- core/client/utils/mobile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client/utils/mobile.js b/core/client/utils/mobile.js index 59b13b3d41..1e0aa51cb1 100644 --- a/core/client/utils/mobile.js +++ b/core/client/utils/mobile.js @@ -1,4 +1,4 @@ -var mobileQuery = matchMedia('(max-width: 800px)'), +var mobileQuery = matchMedia('(max-width: 900px)'), responsiveAction = function responsiveAction(event, mediaCondition, cb) { if (!window.matchMedia(mediaCondition).matches) {