Bug 913947 - this.elementStyle is undefined. r=mratcliffe

This commit is contained in:
Paul Rouget 2013-09-08 12:23:00 +02:00
parent 9d894a803d
commit 69b348b6a1

View File

@ -1041,7 +1041,9 @@ CssRuleView.prototype = {
this.element.parentNode.removeChild(this.element);
}
this.elementStyle.destroy();
if (this.elementStyle) {
this.elementStyle.destroy();
}
this.popup.destroy();
},