Added code so an iframe in IE won't count on doScroll to determine if the dom is ready. We will probably have to do more investigation on a better (and consistant) method for inside an iframe in IE.
This commit is contained in:
parent
7a6978b324
commit
97e98591aa
|
@ -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 || jQuery.browser.safari ) (function(){
|
if ((jQuery.browser.msie && !window.frameElement) || 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/
|
||||||
|
|
Loading…
Reference in a new issue