From d3189652a679c57c05ed63633ff57434298e033c Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Wed, 18 Feb 2009 10:30:19 -0600 Subject: [PATCH] Fixed incorrect usage of === operator. [#127 state:resolved] --- src/dom/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }