mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
Always show toggle in mobile theme
This commit is contained in:
parent
cbc71e693e
commit
bbcb6ba3f1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue