Sha256: 98fb0b84071d5b6ad22904f2245029ea84acca8dade72d51e24b09cd990e98b9
Contents?: true
Size: 531 Bytes
Versions: 2
Compression:
Stored size: 531 Bytes
Contents
/** * Created by Charlie on 20/12/2016. */ $(document).on('turbolinks:load', function() { $('.open-popup-link').magnificPopup({ removalDelay: 500, type: 'inline', midClick: true, callbacks: { beforeOpen: function () { this.st.mainClass = this.st.el.attr('data-effect'); $('.navbar').hide().css({top: '-100px'}); }, close: function () { $('.navbar').show(); setTimeout(function() { $('.navbar').css({top: '0'}); }, 1); } } }); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tmatt_cms-0.1.9 | lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js |
tmatt_cms-0.1.8 | lib/generators/tmatt_cms/templates/js/utils/magnificPopup.js |