fixed #28: select all elements with attribute "display=none" and remove them.
This commit is contained in:
parent
f486a24914
commit
1966a8b68c
1 changed files with 3 additions and 0 deletions
|
|
@ -253,6 +253,9 @@ $(function(){
|
||||||
clipPathEl.remove()
|
clipPathEl.remove()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// find all elements with "display=none" and remove them
|
||||||
|
f.selectAll("[display=none]").remove()
|
||||||
|
|
||||||
// iterate svg tag attributes
|
// iterate svg tag attributes
|
||||||
for(var i = 0; i < root_attrs.length; i++){
|
for(var i = 0; i < root_attrs.length; i++){
|
||||||
var attr = root_attrs[i];
|
var attr = root_attrs[i];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue