Permalink
Browse files

Merge pull request #130 from desunit/master

IFRAME in Opera & Security error fix
  • Loading branch information...
2 parents ca9875b + 4f695ea commit 38b3ac0ba6f019791310d0aa56382de4b5df1805 @asual committed May 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jquery.address.js
@@ -60,7 +60,7 @@
},
_window = function() {
try {
- return top.document !== UNDEFINED ? top : window;
+ return top.document !== UNDEFINED && top.document.title !== UNDEFINED ? top : window;
} catch (e) {
return window;
}

0 comments on commit 38b3ac0

Please sign in to comment.