diff --git a/src/dom/event.js b/src/dom/event.js index d1922f6..9ab4217 100644 --- a/src/dom/event.js +++ b/src/dom/event.js @@ -403,7 +403,7 @@ document.addEventListener('DOMContentLoaded', fireContentLoadedEvent, false); } else { document.observe('readystatechange', checkReadyState); - if (window === top) + if (window == top) timer = pollDoScroll.defer(); }