mobile: adjust breakpoint in JS as well

This commit is contained in:
Jan-Christoph Borchardt 2014-03-21 16:43:04 +01:00
parent 9b9b6ec31e
commit 89ee551158

View file

@ -1013,7 +1013,7 @@ function initCore() {
if (!OC._matchMedia) {
return;
}
var mq = OC._matchMedia('(max-width: 600px)');
var mq = OC._matchMedia('(max-width: 768px)');
var lastMatch = mq.matches;
var $toggle = $('#header #owncloud');
var $navigation = $('#navigation');