소스 검색

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

Mike Hamburg 15 년 전
부모
커밋
ac441e835e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/random.js

+ 1 - 1
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);
       }
     }