From: Vincent Vanwaelscappel Date: Thu, 19 Dec 2019 17:30:18 +0000 (+0100) Subject: fix #3147 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0960c811e6053cd44ad87a772877663b5086038e;p=fluidbook-html5.git fix #3147 @0.5 --- diff --git a/js/libs/fluidbook/links/fluidbook.links.zoom.js b/js/libs/fluidbook/links/fluidbook.links.zoom.js index 5bdcbd75..be8deec0 100644 --- a/js/libs/fluidbook/links/fluidbook.links.zoom.js +++ b/js/libs/fluidbook/links/fluidbook.links.zoom.js @@ -78,7 +78,10 @@ FluidbookLinksZoom.prototype = { // Find other zones in the same group var $others = $('.zoom-group-' + $link.data('group')).not('#' + $link.attr('id')); + if ($others.length >= 1) { + availableHeight -= 50; + availableWidth -= 50; links.push($others.first()); // Take the first because we only support 1 linked zone currently } }