Commit 859aa6c9 authored by David Serduke's avatar David Serduke

Changed window.frameElement to window == top because of some access denied...

Changed window.frameElement to window == top because of some access denied errors when the iframe wasn't same origin.
parent 97e98591
...@@ -332,7 +332,7 @@ jQuery.event = { ...@@ -332,7 +332,7 @@ jQuery.event = {
// If Safari or IE is used // If Safari or IE is used
// Continually check to see if the document is ready // Continually check to see if the document is ready
if ((jQuery.browser.msie && !window.frameElement) || jQuery.browser.safari ) (function(){ if ((jQuery.browser.msie && window == top) || jQuery.browser.safari ) (function(){
try { try {
// If IE is used, use the trick by Diego Perini // If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/ // http://javascript.nwbox.com/IEContentLoaded/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment