From: Vincent Vanwaelscappel Date: Fri, 4 Jan 2019 17:48:47 +0000 (+0100) Subject: wip #2441 @2 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bbf8a6b9600b331f6ae89b291e6fe9e7e237e45c;p=fluidbook-html5.git wip #2441 @2 --- diff --git a/js/libs/fluidbook/fluidbook.resize.js b/js/libs/fluidbook/fluidbook.resize.js index 5bfac018..150bd509 100644 --- a/js/libs/fluidbook/fluidbook.resize.js +++ b/js/libs/fluidbook/fluidbook.resize.js @@ -71,7 +71,7 @@ FluidbookResize.prototype = { } if (this.fluidbook.support.IE > 9) { - this.watchForResize(); + this.watchForResize(); } }, @@ -84,8 +84,8 @@ FluidbookResize.prototype = { resize(); } - var $this=this; - window.setTimeout(function(){ + var $this = this; + window.setTimeout(function () { $this.watchForResize(); }, 1000); }, @@ -287,7 +287,9 @@ FluidbookResize.prototype = { hh: this.hh, orientation: this.orientation, bookScale: this.bookScale, - fluidbookrect: $("#fluidbook").get(0).getBoundingClientRect() + fluidbookrect: $("#fluidbook").get(0).getBoundingClientRect(), + arrowLeftRect: $("#previous").get(0).getBoundingClientRect(), + arrowRightRect: $("#next").get(0).getBoundingClientRect(), }); }, resizeNav: function (interfaceScale) {