Commit 3cdbed52 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Fixed issue that resulted in Firefox not being able to render plot

parent 24cdf67a
...@@ -517,8 +517,8 @@ ...@@ -517,8 +517,8 @@
handleResize () { handleResize () {
const container = this.$el.querySelector(`.fjs-vm-uid-${this._uid} .fjs-vis-container svg`) const container = this.$el.querySelector(`.fjs-vm-uid-${this._uid} .fjs-vis-container svg`)
// noinspection JSSuspiciousNameCombination // noinspection JSSuspiciousNameCombination
this.height = container.clientWidth this.height = container.getBoundingClientRect().width
this.width = container.clientWidth this.width = container.getBoundingClientRect().width
}, },
update_xyData (ids) { update_xyData (ids) {
this.xyData = ids this.xyData = ids
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment