mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
Always show toggle in mobile theme
This commit is contained in:
parent
cbc71e693e
commit
bbcb6ba3f1
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user