Sha256: 4e2c6df2f94655d8d0e149d5e95c61a05ab16837792c6d197efc41ca00f16e9c

Contents?: true

Size: 338 Bytes

Versions: 8

Compression:

Stored size: 338 Bytes

Contents

/**
 * Created by Charlie on 20/12/2016.
 */

$(function() {
    $('.open-popup-link').magnificPopup({
        removalDelay: 500,
        type:'inline',
        midClick: true,
        callbacks: {
            beforeOpen: function() {
                this.st.mainClass = this.st.el.attr('data-effect');
            }
        }
    });
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tmatt_cms-0.1.7 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js
tmatt_cms-0.1.6 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js
tmatt_cms-0.1.5 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js
tmatt_cms-0.1.4 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js
tmatt_cms-0.1.3 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js
tmatt_cms-0.1.2 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js
tmatt_cms-0.1.1 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js
tmatt_cms-0.1.0 lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js