From 291414a86cab3a77a75cd8a7d5268014b0d90321 Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Tue, 14 Jun 2011 16:36:39 -0700 Subject: [PATCH] vibornoff: fix stopCollectors --- core/random.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/random.js b/core/random.js index a32eaa3a..2a6f135c 100644 --- a/core/random.js +++ b/core/random.js @@ -193,8 +193,8 @@ sjcl.random = { if (!this._collectorsStarted) { return; } if (window.removeEventListener) { - window.removeEventListener("load", this._loadTimeCollector); - window.removeEventListener("mousemove", this._mouseCollector); + window.removeEventListener("load", this._loadTimeCollector, false); + window.removeEventListener("mousemove", this._mouseCollector, false); } else if (window.detachEvent) { window.detachEvent("onload", this._loadTimeCollector); window.detachEvent("onmousemove", this._mouseCollector);