diff --git a/app/assets/javascripts/discourse/components/topic_map_component.js b/app/assets/javascripts/discourse/components/topic_map_component.js index 6b835d9750a..721542ee819 100644 --- a/app/assets/javascripts/discourse/components/topic_map_component.js +++ b/app/assets/javascripts/discourse/components/topic_map_component.js @@ -19,7 +19,7 @@ Discourse.TopicMapComponent = Ember.Component.extend({ this._super(); // If the topic has a summary, expand the map by default - this.set('mapCollapsed', !this.get('topic.has_summary')); + this.set('mapCollapsed', Discourse.Mobile.mobileView || (!this.get('topic.has_summary'))); }, toggleMapClass: function() { diff --git a/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars b/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars index 7a5a08d0982..02e4dfb299a 100644 --- a/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars +++ b/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars @@ -4,7 +4,7 @@ -