Bug 860182 - TypeError: this._elementStyle is null: CssRuleView_nodeChanged; r=harth

This commit is contained in:
Michael Ratcliffe 2013-05-10 15:29:11 +01:00
parent 09d7c846ac
commit 819ed9d74b

View File

@ -941,8 +941,8 @@ CssRuleView.prototype = {
*/
nodeChanged: function CssRuleView_nodeChanged()
{
// Ignore refreshes during editing.
if (this.isEditing) {
// Ignore refreshes during editing or when no element is selected.
if (this.isEditing || !this._elementStyle) {
return;
}