app/assets/javascripts/jquery.lazyload.js in jquery_lazy_load-0.1.0.9 vs app/assets/javascripts/jquery.lazyload.js in jquery_lazy_load-0.1.0.10

- old
+ new

@@ -86,15 +86,16 @@ var self = this; var $self = $(self); self.loaded = false; + /* disable placeholder (square 1x1 placeholder causes layout jumps), I use holder.js */ /* If no src attribute given use data:uri. */ - if ($self.attr("src") === undefined || $self.attr("src") === false) { + /*if ($self.attr("src") === undefined || $self.attr("src") === false) { if ($self.is("img")) { $self.attr("src", settings.placeholder); } - } + }*/ /* If data-original is "null" - return. */ if ($self.attr("data-" + settings.data_attribute) == "null") { return; }