Fixing broken Show Hidden Stories feature.

This commit is contained in:
Samuel Clay 2012-10-23 15:38:44 -07:00
parent 33cece53d1
commit 48ec4cdf79
2 changed files with 5 additions and 5 deletions

View file

@ -219,12 +219,12 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({
if (onlySelected) return;
// if (this.model.changedAttributes()) {
// NEWSBLUR.log(["Story changed", this.model.changedAttributes(), this.model.previousAttributes()]);
// }
if (this.model.changedAttributes()) {
NEWSBLUR.log(["Story changed", this.model.changedAttributes(), this.model.previousAttributes()]);
}
var story = this.model;
var unread_view = NEWSBLUR.assets.preference('unread_view');
var unread_view = NEWSBLUR.reader.get_unread_view_score();
var score = story.score();
if (this.feed) {

View file

@ -68,7 +68,7 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
})) return;
var story = this.model;
var unread_view = NEWSBLUR.assets.preference('unread_view');
var unread_view = NEWSBLUR.reader.get_unread_view_score();
var score = story.score();
this.$el.toggleClass('NB-story-starred', !!story.get('starred'));