diff --git a/app/assets/javascripts/discourse/models/topic.js b/app/assets/javascripts/discourse/models/topic.js index 5d25f25ba..45cc59ec5 100644 --- a/app/assets/javascripts/discourse/models/topic.js +++ b/app/assets/javascripts/discourse/models/topic.js @@ -73,11 +73,7 @@ Discourse.Topic = Discourse.Model.extend({ urlForPostNumber: function(postNumber) { var url = this.get('url'); if (postNumber && (postNumber > 0)) { - if (postNumber >= this.get('highest_post_number')) { - url += "/last"; - } else { - url += "/" + postNumber; - } + url += "/" + postNumber; } return url; },