mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 12:07:08 +00:00
Don't change the platform window's title unless the Cappuccino window is full platform.
This commit is contained in:
1 parent
041f21d117
commit
1c6d2f7fa4
1 file changed
+5
-2
@@ -270,9 +270,12 @@ var PrimaryPlatformWindow = NULL;
|
||||
_title = aTitle;
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
if (_DOMWindow && _DOMWindow.document
|
||||
&& (aWindow === [CPApp mainWindow] || [aWindow platformWindow] !== [CPPlatformWindow primaryPlatformWindow]))
|
||||
if (_DOMWindow &&
|
||||
_DOMWindow.document &&
|
||||
([aWindow isFullPlatformWindow]))
|
||||
{
|
||||
_DOMWindow.document.title = _title;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user