Sha256: 632af46f5763922d44d076e5007dc52fdf7ffd064b39d72bbcaaed81a199c36c

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

$(document).ready(function() {
    var $cs_widget = $('.csamples_widget');
    //console.log('<breakpoint>');
    if ($cs_widget.length > 0) {
        var $links = $cs_widget.find('a.lazy-image-wrapper');
        $links.on('click', function (e) {
            e.preventDefault();
        })
    }
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
c80_catoffers-0.1.0.8 app/assets/javascripts/c80_catoffers/csamples_widget_csphoto_link_prevent_default_click.js