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
12ee7b8bff
commit
9a0ecdb350
@ -56,6 +56,7 @@ ToolSidebar.prototype = {
|
||||
iframe.setAttribute("src", url);
|
||||
|
||||
let tab = this._tabbox.tabs.appendItem();
|
||||
tab.setAttribute("label", ""); // Avoid showing "undefined" while the tab is loading
|
||||
|
||||
let onIFrameLoaded = function() {
|
||||
tab.setAttribute("label", iframe.contentDocument.title);
|
||||
|
Loading…
Reference in New Issue
Block a user