diff --git a/src/navigator.js b/src/navigator.js index 8d1aac2a..9d2cf6b7 100644 --- a/src/navigator.js +++ b/src/navigator.js @@ -324,6 +324,7 @@ $.extend( $.Navigator.prototype, $.EventSource.prototype, $.Viewer.prototype, /* this.width = width; this.element.style.width = typeof (width) === "number" ? (width + 'px') : width; this._resizeWithViewer = false; + this.updateSize(); }, /** @@ -334,6 +335,7 @@ $.extend( $.Navigator.prototype, $.EventSource.prototype, $.Viewer.prototype, /* this.height = height; this.element.style.height = typeof (height) === "number" ? (height + 'px') : height; this._resizeWithViewer = false; + this.updateSize(); }, /**