fix an issue reported by ctemplin that prevents event handlers from being removed

pull/17/head
Mike Hamburg 2010-11-07 14:59:40 -08:00
parent 4ecf95a355
commit 84fe48947d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}