We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9909382 commit 28147e2Copy full SHA for 28147e2
test/jasmine/assets/destroy_graph_div.js
@@ -2,5 +2,6 @@
2
3
module.exports = function destroyGraphDiv() {
4
var gd = document.getElementById('graph');
5
- document.body.removeChild(gd);
+
6
+ if(gd) document.body.removeChild(gd);
7
};
0 commit comments