Sha256: 522f2a8cdb86c193ac542bf152c5b9a95a57e08521be21b9007ee6e76860bb86

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

function addimageerrors() {
    $(".instagram-img, .battle-img, .fancybox-img").off("error").on("error", function () {
        $(this).parents("div.image-tile, li.image-animate-tile").remove();
        /*if ($("body.images_animate") || $("body.images_staff_picks_animate")) {
            addanimatedimages();
        }*/
    });
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lentil-0.5.2 app/assets/javascripts/lentil/imageerrors.js
lentil-0.5.1 app/assets/javascripts/lentil/imageerrors.js
lentil-0.5.0 app/assets/javascripts/lentil/imageerrors.js
lentil-0.4.2 app/assets/javascripts/lentil/imageerrors.js
lentil-0.4.0 app/assets/javascripts/lentil/imageerrors.js