diff --git a/AppKit/Platform/CPPlatformWindow.j b/AppKit/Platform/CPPlatformWindow.j index 62a82e106..c53a50500 100644 --- a/AppKit/Platform/CPPlatformWindow.j +++ b/AppKit/Platform/CPPlatformWindow.j @@ -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 }