mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing issue around rendering story titles with no feed.
This commit is contained in:
parent
73c77938bd
commit
708f583216
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
|
|||
var $inner = this.$st.find(".NB-storytitles-feed-border-inner");
|
||||
var $outer = this.$st.find(".NB-storytitles-feed-border-outer");
|
||||
var feed = NEWSBLUR.assets.get_feed(this.model.get('story_feed_id'));
|
||||
if (!feed) return;
|
||||
|
||||
$inner.css('background-color', '#' + feed.get('favicon_fade'));
|
||||
$outer.css('background-color', '#' + feed.get('favicon_color'));
|
||||
|
|
Loading…
Add table
Reference in a new issue