1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 12:32:42 +00:00

Fix errors in tracking pixel and lightbox

This commit is contained in:
Jocelyn Badgley (Twipped)
2020-03-02 20:27:34 -08:00
parent a7e266a558
commit 640c3ac1a8
2 changed files with 17 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
(function ($) {
$(function () {
$('.lightbox, .gutter').each(function () {
$('.lightbox, .gutter, .tweet-entities').each(function () {
$(this).magnificPopup({
delegate: 'a.lb',
type: 'image',
@@ -13,14 +13,7 @@
gallery: {
enabled: true,
},
zoom: {
enabled: true,
duration: 300, // don't foget to change the duration also in CSS
opener: function (element) {
return element.find('img');
},
},
});
});
}(window.jQuery));
});