Longer content previews.

This commit is contained in:
Samuel Clay 2021-01-24 13:55:47 -05:00
parent d3449db1ec
commit a932102b57
2 changed files with 2 additions and 2 deletions

View file

@ -206,7 +206,7 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
show_content_preview: function() { show_content_preview: function() {
var preference = NEWSBLUR.assets.preference('show_content_preview'); var preference = NEWSBLUR.assets.preference('show_content_preview');
if (!preference) return preference; if (!preference) return preference;
var max_length = preference == 'small' ? 150 : preference == 'medium' ? 300 : 500; var max_length = preference == 'small' ? 300 : preference == 'medium' ? 600 : 1000;
if (this.options.override_layout == 'grid' || if (this.options.override_layout == 'grid' ||
NEWSBLUR.assets.view_setting(NEWSBLUR.reader.active_feed, 'layout') == 'grid') { NEWSBLUR.assets.view_setting(NEWSBLUR.reader.active_feed, 'layout') == 'grid') {