mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Switching taskbar view when appropriate (i.e. showing a temp story view).
This commit is contained in:
parent
f80e6d7272
commit
c05f47f838
3 changed files with 5 additions and 3 deletions
|
@ -2578,8 +2578,6 @@ background: transparent;
|
|||
border-left: 1px solid #9B9B9B;
|
||||
padding: .5em 2em;
|
||||
margin: 0px;
|
||||
font-size: .9em;
|
||||
line-height: 80%;
|
||||
}
|
||||
|
||||
.content-pane .feed_counts_floater {
|
||||
|
|
|
@ -2024,7 +2024,7 @@
|
|||
// ===================
|
||||
|
||||
switch_taskbar_view: function(view, skip_save_type) {
|
||||
// NEWSBLUR.log(['switch_taskbar_view', view]);
|
||||
// NEWSBLUR.log(['switch_taskbar_view', view, skip_save_type]);
|
||||
var self = this;
|
||||
var $story_pane = this.$s.$story_pane;
|
||||
var feed = this.model.get_feed(this.active_feed);
|
||||
|
|
|
@ -263,6 +263,10 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({
|
|||
NEWSBLUR.app.story_list.show_stories_preference_in_feed_view();
|
||||
NEWSBLUR.app.story_list.scroll_to_selected_story(model, options);
|
||||
}
|
||||
|
||||
if (NEWSBLUR.reader.flags['feed_view_showing_story_view']) {
|
||||
NEWSBLUR.reader.switch_to_correct_view();
|
||||
}
|
||||
},
|
||||
|
||||
// ===========
|
||||
|
|
Loading…
Add table
Reference in a new issue