mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
fix an issue reported by ctemplin that prevents event handlers from being removed
This commit is contained in:
parent
4ecf95a355
commit
84fe48947d
|
@ -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 New Issue
Block a user