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:
@@ -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));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user