mirror of
https://github.com/viq/NewsBlur.git
synced 2025-11-01 09:09:16 +00:00
Fixing broken Show Hidden Stories feature.
This commit is contained in:
parent
33cece53d1
commit
48ec4cdf79
2 changed files with 5 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue