mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 934487 - Fix "TypeError: this.markup is undefined" in devtools b-c runs; r=pbrosset
This commit is contained in:
parent
fa839ec160
commit
29d25d4aab
@ -358,6 +358,9 @@ InspectorPanel.prototype = {
|
|||||||
|
|
||||||
this._initMarkup();
|
this._initMarkup();
|
||||||
this.once("markuploaded", () => {
|
this.once("markuploaded", () => {
|
||||||
|
if (this._destroyPromise) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.markup.expandNode(this.selection.nodeFront);
|
this.markup.expandNode(this.selection.nodeFront);
|
||||||
this.setupSearchBox();
|
this.setupSearchBox();
|
||||||
this.emit("new-root");
|
this.emit("new-root");
|
||||||
|
Loading…
Reference in New Issue
Block a user