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

This commit is contained in:
Paul Rouget 2013-09-08 12:23:00 +02:00
Родитель ffde4e0eb0
Коммит 24b0580688
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

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