mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Fixing opening story from Discover Sites on unsubscribed feeds.
This commit is contained in:
parent
e101801db1
commit
181a673206
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
|
|||
return;
|
||||
} else if (this.options.on_discover_feed) {
|
||||
console.log(['clicked story in discover feed', this.model, this.options.on_discover_feed, this.options.in_popover]);
|
||||
var is_subscribed = this.options.on_discover_feed.feed.is_subscribed();
|
||||
var is_subscribed = this.options.on_discover_feed.feed && this.options.on_discover_feed.feed.is_subscribed();
|
||||
if (is_subscribed) {
|
||||
NEWSBLUR.reader.open_feed(this.model.get('story_feed_id'), {
|
||||
'story_id': this.model.get('story_hash')
|
||||
|
|
Loading…
Add table
Reference in a new issue