mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing issue around classifying a tag inline in the Feed view causes the link to not open in a new window. (DohThanks to CyberGhost for the bug.
This commit is contained in:
parent
d349018f19
commit
b7bd0c1186
1 changed files with 5 additions and 1 deletions
|
@ -2613,6 +2613,10 @@
|
|||
$('.NB-feed-story-tags', $story).replaceWith(this.make_story_feed_tags(story));
|
||||
$('.NB-feed-story-author', $story).replaceWith(this.make_story_feed_author(story));
|
||||
$('.NB-feed-story-title', $story).replaceWith(this.make_story_feed_title(story));
|
||||
|
||||
if (this.model.preference('new_window') == 1) {
|
||||
$('a', $story).attr('target', '_blank');
|
||||
}
|
||||
}, this);
|
||||
|
||||
_.each(this.cache.feed_view_stories, _.bind(function($story, story_id) {
|
||||
|
@ -3126,7 +3130,7 @@
|
|||
delayIn: 375
|
||||
});
|
||||
}
|
||||
if (NEWSBLUR.Preferences.new_window == 1) {
|
||||
if (this.model.preference('new_window') == 1) {
|
||||
$('a', $story).attr('target', '_blank');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue