From bbcb6ba3f1805a46fd2735cb0de357303303f904 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 6 Aug 2014 15:03:51 +1000 Subject: [PATCH] Always show toggle in mobile theme --- app/assets/javascripts/discourse/controllers/site-map.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/site-map.js.es6 b/app/assets/javascripts/discourse/controllers/site-map.js.es6 index 590b92266bb..7ba7d1273c1 100644 --- a/app/assets/javascripts/discourse/controllers/site-map.js.es6 +++ b/app/assets/javascripts/discourse/controllers/site-map.js.es6 @@ -14,7 +14,7 @@ export default Ember.ArrayController.extend(Discourse.HasCurrentUser, { }.property(), showMobileToggle: function(){ - return Discourse.SiteSettings.enable_mobile_theme && Discourse.Capabilities.touch; + return Discourse.Mobile.mobileView || (Discourse.SiteSettings.enable_mobile_theme && Discourse.Capabilities.touch); }.property(), mobileViewLinkTextKey: function() {