Fancybox fix 10

This commit is contained in:
Rick Falkvinge
2018-02-21 18:03:02 +01:00
parent e39872e511
commit 79a2099a67
@@ -196,15 +196,15 @@
if (instance.group.length > 1) {
if (instance.currIndex > 0) {
$('a.data-arrow-previous').show();
$('a.fancybox-arrow-previous').show();
} else {
$('a.data-arrow-previous').hide();
$('a.fancybox-arrow-previous').hide();
}
if (instance.currIndex < instance.group.length - 1) {
$('a.data-arrow-next').show();
$('a.fancybox-arrow-next').show();
} else {
$('a.data-arrow-next').hide();
$('a.fancybox-arrow-next').hide();
}
}
},