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
This commit is contained in:
Paul Adam Davis 2014-09-02 22:20:16 +01:00
parent e00843851e
commit 53a4a6a010

View File

@ -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) {