We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf9787 commit 91b1929Copy full SHA for 91b1929
assets/js/jquery.fancybox.js
@@ -3182,6 +3182,9 @@
3182
3183
if($('.fancybox-custom-caption.inside-caption').length ){
3184
custom_caption_outerHeight = $el.find('.fancybox-custom-caption').outerHeight();
3185
+ if(custom_caption_outerHeight == 0){
3186
+ custom_caption_outerHeight = 10;
3187
+ }
3188
} else {
3189
custom_caption_outerHeight = ($el.find('.fancybox-image').outerHeight() - $el.find('.fancybox-image').height())/2;
3190
// Seems like different border width for image requires a little trimming
0 commit comments