mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 06:54:00 +00:00
Bug 587187 - test for window.TabView rather than just TabView [r=dolske a=dolske]
Check the global object for existence to avoid ReferenceError. --HG-- extra : rebase_source : 71a843015f6c58795ce1eb543762df61679baf46
This commit is contained in:
parent
64262f7d4f
commit
925f76f9f6
@ -726,7 +726,7 @@
|
||||
<method name="updateTitlebar">
|
||||
<body>
|
||||
<![CDATA[
|
||||
if (TabView && TabView.isVisible()) {
|
||||
if (window.TabView && TabView.isVisible()) {
|
||||
// ToDo: this will be removed when we gain ability to draw to the menu bar.
|
||||
// Bug 586175
|
||||
this.ownerDocument.title = TabView.windowTitle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user