diff --git a/app/assets/javascripts/discourse/models/topic.js.coffee b/app/assets/javascripts/discourse/models/topic.js.coffee index dd95bd26bf7..8ee310c4ce1 100644 --- a/app/assets/javascripts/discourse/models/topic.js.coffee +++ b/app/assets/javascripts/discourse/models/topic.js.coffee @@ -69,13 +69,6 @@ Discourse.Topic = Discourse.Model.extend Discourse.Presence, ).property('new_posts', 'id') - displayTitle: (-> - return null unless @get('title') - return @get('title') unless @get('category') - matches = @get('title').match(/^([a-zA-Z0-9]+\: )?(.*)/) - return matches[2] - ).property('title') - # The coldmap class for the age of the topic ageCold: (-> return unless lastPost = @get('last_posted_at') diff --git a/app/assets/javascripts/discourse/templates/topic.js.handlebars b/app/assets/javascripts/discourse/templates/topic.js.handlebars index df9ff98681c..add9aec92ba 100644 --- a/app/assets/javascripts/discourse/templates/topic.js.handlebars +++ b/app/assets/javascripts/discourse/templates/topic.js.handlebars @@ -17,7 +17,7 @@