mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 860182 - TypeError: this._elementStyle is null: CssRuleView_nodeChanged; r=harth
This commit is contained in:
parent
09d7c846ac
commit
819ed9d74b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user