mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1031000 - Fix problem with TabSource Prompt. r=blassey
This commit is contained in:
parent
6244beef17
commit
59d2b741db
@ -40,10 +40,10 @@ TabSource.prototype = {
|
|||||||
let label;
|
let label;
|
||||||
if (tab.browser.contentTitle)
|
if (tab.browser.contentTitle)
|
||||||
label = tab.browser.contentTitle;
|
label = tab.browser.contentTitle;
|
||||||
else if (tab.browser.contentURI && tab.browser.contentURI.spec)
|
else if (tab.browser.contentURI)
|
||||||
label = tab.browser.contentURI.spec;
|
label = tab.browser.contentURI.spec;
|
||||||
else
|
else
|
||||||
label = tab.originalURI;
|
label = tab.originalURI.spec;
|
||||||
return { label: label,
|
return { label: label,
|
||||||
icon: "thumbnail:" + tab.id }
|
icon: "thumbnail:" + tab.id }
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user