mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Only 60px high images will be previewed.
This commit is contained in:
parent
43b90a6ab3
commit
eeb715a8e2
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ NEWSBLUR.Views.StoryTitleView = Backbone.View.extend({
|
|||
var $img = $("<img>");
|
||||
$img.imagesLoaded(function() {
|
||||
// console.log(["Loaded", index, $img[0].width, $img.attr('src'), self.model.get('story_title').substr(0, 30)]);
|
||||
if ($img[0].width > 60) {
|
||||
if ($img[0].width > 60 && $img[0].height > 60) {
|
||||
self.$(".NB-storytitles-story-image").css({
|
||||
'background-image': "none, url(\'" + $img.attr('src') + "\')",
|
||||
'display': 'block'
|
||||
|
|
Loading…
Add table
Reference in a new issue