Add this.viewer test.

This commit is contained in:
Antoine Vandecreme 2016-04-19 18:13:12 -04:00
parent e0e6ce9b65
commit b1a0abd104

View File

@ -341,7 +341,9 @@ $.Viewport.prototype = {
}, margins);
this._updateContainerInnerSize();
this.viewer.forceRedraw();
if (this.viewer) {
this.viewer.forceRedraw();
}
},
/**