diff --git a/scripts/explorer.js b/scripts/explorer.js index 0bdeac2..d9e4b25 100644 --- a/scripts/explorer.js +++ b/scripts/explorer.js @@ -407,6 +407,9 @@ jQuery(document).ready(function($) arrows: false, transitionEffect: "fade", baseClass: 'fancybox-custom-layout', + mobile: { + preventCaptionOverlap: true, + }, caption: function(instance, item) { diff --git a/scripts/exposition.js b/scripts/exposition.js index d0fd9b5..1c5109f 100644 --- a/scripts/exposition.js +++ b/scripts/exposition.js @@ -21,6 +21,9 @@ jQuery(document).ready(function($) arrows: false, transitionEffect: "fade", baseClass: 'fancybox-custom-layout', + mobile: { + preventCaptionOverlap: true, + }, caption: function(instance, item) {