mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 819181 - Inspector sidebar items show undefined during load. r=jwalker
This commit is contained in:
parent
692e4d1071
commit
473d103b44
@ -56,6 +56,7 @@ ToolSidebar.prototype = {
|
|||||||
iframe.setAttribute("src", url);
|
iframe.setAttribute("src", url);
|
||||||
|
|
||||||
let tab = this._tabbox.tabs.appendItem();
|
let tab = this._tabbox.tabs.appendItem();
|
||||||
|
tab.setAttribute("label", ""); // Avoid showing "undefined" while the tab is loading
|
||||||
|
|
||||||
let onIFrameLoaded = function() {
|
let onIFrameLoaded = function() {
|
||||||
tab.setAttribute("label", iframe.contentDocument.title);
|
tab.setAttribute("label", iframe.contentDocument.title);
|
||||||
|
Loading…
Reference in New Issue
Block a user