diff --git a/core/js/js.js b/core/js/js.js
index 834916b2e3fc961a85aee911ebb3f0d5aafff9dc..67da7915cfbda402903848a6338f9069835423ce 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1111,18 +1111,12 @@ function initCore() {
 	 * If the screen is bigger, the main menu is not a toggle any more.
 	 */
 	function setupMainMenu() {
-		// toggle the navigation on mobile
-		if (!OC._matchMedia) {
-			return;
-		}
-		var mq = OC._matchMedia('(max-width: 768px)');
-		var lastMatch = mq.matches;
+		// toggle the navigation
 		var $toggle = $('#header #owncloud');
 		var $navigation = $('#navigation');
 
 		function updateMainMenu() {
-			// mobile mode ?
-			if (lastMatch && !$toggle.hasClass('menutoggle')) {
+			if (!$toggle.hasClass('menutoggle')) {
 				// init the menu
 				OC.registerMenu($toggle, $navigation);
 				$toggle.data('oldhref', $toggle.attr('href'));