mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 287467 - flash game stops close tab from working, r+a=bsmedberg
This commit is contained in:
parent
b22a77a6da
commit
d0f41808dc
@ -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…
Reference in New Issue
Block a user