From 79f19b6cca65bdd25ba332f805b7c2de068312fc Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Wed, 18 Jun 2014 23:57:47 +0530 Subject: [PATCH] remove computed property for progress bar glyph --- .../javascripts/discourse/controllers/topic-progress.js.es6 | 4 ---- .../discourse/templates/topic-progress.js.handlebars | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/topic-progress.js.es6 b/app/assets/javascripts/discourse/controllers/topic-progress.js.es6 index f1322727c22..4baa0d65053 100644 --- a/app/assets/javascripts/discourse/controllers/topic-progress.js.es6 +++ b/app/assets/javascripts/discourse/controllers/topic-progress.js.es6 @@ -40,10 +40,6 @@ export default Ember.ObjectController.extend({ Discourse.URL.routeTo(url); }, - chevronClass: function() { - return this.get('expanded') ? '' : 'fa-sort'; - }.property('expanded'), - streamPercentage: function() { if (!this.get('postStream.loaded')) { return 0; } if (this.get('postStream.highest_post_number') === 0) { return 0; } diff --git a/app/assets/javascripts/discourse/templates/topic-progress.js.handlebars b/app/assets/javascripts/discourse/templates/topic-progress.js.handlebars index f580dc64187..422a30c5c81 100644 --- a/app/assets/javascripts/discourse/templates/topic-progress.js.handlebars +++ b/app/assets/javascripts/discourse/templates/topic-progress.js.handlebars @@ -17,6 +17,6 @@

{{progressPosition}}

{{i18n of_value}}

{{postStream.filteredPostsCount}}

- +