mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Select story in feed
This commit is contained in:
parent
52db1011a9
commit
933e395468
2 changed files with 6 additions and 0 deletions
|
@ -1869,6 +1869,11 @@
|
|||
var folder_title = folder && folder.get('folder_title') || "Everything";
|
||||
|
||||
this.reset_feed(options);
|
||||
|
||||
if (options.story_id) {
|
||||
this.flags['select_story_in_feed'] = options.story_id;
|
||||
}
|
||||
|
||||
this.hide_splash_page();
|
||||
if (!folder || folder.get('fake') || !folder.get('folder_title')) {
|
||||
this.active_feed = 'river:';
|
||||
|
|
|
@ -463,6 +463,7 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
|
|||
|
||||
if (this.options.on_dashboard) {
|
||||
console.log(['clicked story', this.model]);
|
||||
NEWSBLUR.reader.open_river_stories(null, null, {story_id: this.model.id});
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue