Skip to content

Commit

Permalink
Fix dispose error in ie8, Fix apache/echarts#3874
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Oct 25, 2016
1 parent 7110fe1 commit d05aa79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vml/Painter.js
Expand Up @@ -149,7 +149,9 @@ define(function (require) {
},

clear: function () {
this.root.removeChild(this.vmlViewport);
if (this._vmlViewport) {
this.root.removeChild(this._vmlViewport);
}
},

_getWidth: function () {
Expand Down

0 comments on commit d05aa79

Please sign in to comment.