bug 287467 - flash game stops close tab from working, r+a=bsmedberg

git-svn-id: svn://10.0.0.236/trunk@232675 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mconnor%steelgryphon.com 2007-08-22 05:03:01 +00:00
parent 39b513c3d2
commit b6eecf1bdc

View File

@ -591,7 +591,7 @@
var focusedWindow = document.commandDispatcher.focusedWindow;
var saveFocus = false;
if (focusedWindow.top == window.content) {
if (focusedWindow && focusedWindow.top == window.content) {
saveFocus = true;
} else {
var contentWindow = window;