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:
parent
39b513c3d2
commit
b6eecf1bdc
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user