mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 14:45:28 +00:00
See ChangeLog.
Monotone-Parent: 837142c1df31bc292adff9513b1f7c35f896ea83 Monotone-Revision: 71440e99d4aaef941747ff066471092846387f65 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-03-08T20:46:18
This commit is contained in:
@@ -1494,7 +1494,7 @@ function getTopWindow() {
|
||||
var topWindow = null;
|
||||
var currentWindow = window;
|
||||
while (!topWindow) {
|
||||
if (currentWindow.document.body.hasClassName("popup")
|
||||
if ($(currentWindow.document.body).hasClassName("popup")
|
||||
&& currentWindow.opener
|
||||
&& currentWindow.opener.getTopWindow)
|
||||
currentWindow = currentWindow.opener;
|
||||
|
||||
Reference in New Issue
Block a user