mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-17 16:11:28 +00:00
Don't change the platform window's title unless the Cappuccino window is full platform.
This commit is contained in:
@@ -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