fixed #28: select all elements with attribute "display=none" and remove them.

This commit is contained in:
make-ing 2016-06-21 16:20:41 +02:00
parent f486a24914
commit 1966a8b68c

View file

@ -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];