Skip to content
Permalink
Browse files
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.
  • Loading branch information
davids549 committed Dec 16, 2007
1 parent 7a6978b commit 97e98591aaf929bef42bf6047f68e08d8aafc1a4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -332,7 +332,7 @@ jQuery.event = {

// If Safari or IE is used
// 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 {
// If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/

0 comments on commit 97e9859

Please sign in to comment.