mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 13:35:58 +00:00
Fixing links opening in new windows in text tab view.
This commit is contained in:
parent
fd17eeb500
commit
ef8ab6cc48
2 changed files with 6 additions and 8 deletions
|
@ -679,6 +679,8 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({
|
|||
}
|
||||
|
||||
this.model.set('selected', true, {selected_by_scrolling: true});
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
mouseenter_manage_icon: function() {
|
||||
|
|
|
@ -143,6 +143,8 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
|
|||
}
|
||||
this.$(".NB-story-detail").html(this.text_view.$el);
|
||||
this.text_view.story_detail.render_starred_tags();
|
||||
this.text_view.attach_handlers();
|
||||
this.text_view.setElement(this.text_view.$el);
|
||||
} else {
|
||||
if (!this.story_detail) {
|
||||
this.story_detail = new NEWSBLUR.Views.StoryDetailView({
|
||||
|
@ -154,14 +156,8 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
|
|||
}
|
||||
// console.log(['render_inline_story_detail', this.$(".NB-story-detail")]);
|
||||
this.$(".NB-story-detail").html(this.story_detail.$el);
|
||||
if (this.story_detail) {
|
||||
this.story_detail.attach_handlers();
|
||||
this.story_detail.setElement(this.story_detail.$el);
|
||||
}
|
||||
if (this.text_view) {
|
||||
this.text_view.attach_handlers();
|
||||
this.text_view.setElement(this.text_view.$el);
|
||||
}
|
||||
this.story_detail.attach_handlers();
|
||||
this.story_detail.setElement(this.story_detail.$el);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue