Skip to content

Commit

Permalink
Merge pull request #848 from finos/resize-fix
Browse files Browse the repository at this point in the history
Fixed resize behavior
  • Loading branch information
texodus authored Dec 16, 2019
2 parents d2c5cf9 + 0d668bf commit 343aafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/perspective-viewer/src/js/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class PerspectiveViewer extends ActionElement {
this._show_config = true;
this._show_warnings = true;
this.__render_times = [];
window.addEventListener("load", this._resize_handler);
this._resize_handler = this.notifyResize.bind(this);
window.addEventListener("resize", this._resize_handler);
}

Expand Down

0 comments on commit 343aafc

Please sign in to comment.