fix an issue reported by ctemplin that prevents event handlers from being removed
This commit is contained in:
parent
c3435d1be3
commit
ac441e835e
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ sjcl.random = {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
for (j in cbs) {
|
for (j in cbs) {
|
||||||
if (cbs.hasOwnProperty[j] && cbs[j] === cb) {
|
if (cbs.hasOwnProperty(j) && cbs[j] === cb) {
|
||||||
jsTemp.push(j);
|
jsTemp.push(j);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue