Skip to content

Commit 93ddcaa

Browse files
committed
Clear HTML node when creating top SVG element
1 parent f2d7e58 commit 93ddcaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/JSRootPainter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4020,6 +4020,7 @@
40204020
}
40214021

40224022
svg = this.select_main()
4023+
.html("")
40234024
.append("svg")
40244025
.attr("class", "jsroot root_canvas")
40254026
.property('pad_painter', this) // this is custom property

0 commit comments

Comments
 (0)