From ac441e835e2c92f11015039fd365fb82f91fcd3a Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Sun, 7 Nov 2010 14:58:53 -0800 Subject: [PATCH] fix an issue reported by ctemplin that prevents event handlers from being removed --- core/random.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/random.js b/core/random.js index 44948ac..2080cd3 100644 --- a/core/random.js +++ b/core/random.js @@ -221,7 +221,7 @@ sjcl.random = { */ for (j in cbs) { - if (cbs.hasOwnProperty[j] && cbs[j] === cb) { + if (cbs.hasOwnProperty(j) && cbs[j] === cb) { jsTemp.push(j); } }