Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Decrease length of set to improve initial performance

  • Loading branch information...
commit 7e0d5c0069f540f265a99ee9c217988cccb26a37 1 parent e18768c
@pokonski pokonski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  humpinator.js
View
2  humpinator.js
@@ -4,7 +4,7 @@ var selector = 'td.postRow img[src^="http"]';
var dfd = $(selector).imagesLoaded();
dfd.progress(function( isBroken, $images, $proper, $broken ){
- fitImages($proper,max_width, buffer);
+ fitImages($proper.filter('img:not([data-original-width])'),max_width, buffer);
});
$(document).on('mouseenter mouseleave','a.humpinator-wrapper',function(e){
Please sign in to comment.
Something went wrong with that request. Please try again.