Switching taskbar view when appropriate (i.e. showing a temp story view).

This commit is contained in:
Samuel Clay 2012-07-01 14:28:11 -07:00
parent f80e6d7272
commit c05f47f838
3 changed files with 5 additions and 3 deletions

View file

@ -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 {

View file

@ -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);

View file

@ -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();
}
},
// ===========