Sha256: 5d0fc8662dee12885ecc36e46485733717e79459012295df0ce9f7332bc84abf
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
Trestle.ready(function() { $('[data-behavior~="zoom"]').magnificPopup({ type: 'image', closeOnContentClick: false, closeBtnInside: false, mainClass: 'mfp-with-zoom mfp-img-mobile', zoom: { enabled: true, duration: 150 } }); $('[data-behavior~="gallery"]').magnificPopup({ delegate: 'a', type: 'image', closeOnContentClick: false, closeBtnInside: false, mainClass: 'mfp-with-zoom mfp-img-mobile', gallery: { enabled: true }, zoom: { enabled: true, duration: 150 } }); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.8.5 | app/assets/javascripts/trestle/_gallery.js |
trestle-0.8.4 | app/assets/javascripts/trestle/_gallery.js |