Attaching handlers when swapping story content.

This commit is contained in:
Samuel Clay 2016-02-26 20:41:28 -08:00
parent 1effb5b9cf
commit 3cadd30c43

View file

@ -301,6 +301,8 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({
render_story_content: function() {
this.$(".NB-feed-story-show-changes-text").text((this.model.get('showing_diff') ? "Hide" : "Show") + " story changes");
this.$(".NB-feed-story-content").html(this.model.get('story_content'));
this.attach_handlers();
},
destroy: function() {