Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Workaround for Opera error: "Uncaught exception: ReferenceError: Secu…

…rity

error: attempted to read protected variable: onhashchange" occurred in
iframe
  • Loading branch information...
commit 4f695eafbd6dbfe7ed35c17f03ee540af4002404 1 parent 5051639
@desunit desunit authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/jquery.address.js
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.