Permalink
Browse files

Decrease length of set to improve initial performance

  • Loading branch information...
1 parent e18768c commit 7e0d5c0069f540f265a99ee9c217988cccb26a37 @pokonski pokonski committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 humpinator.js
View
@@ -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){

0 comments on commit 7e0d5c0

Please sign in to comment.