Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing parameter in addEventListener call produce JavaScript error under Firefox 4 #22

Closed
jkronegg opened this issue Feb 20, 2014 · 1 comment

Comments

@jkronegg
Copy link

Firefox 4 (an old release I agree) gives an error when loading the jsencrypt.js file. The error is in https://github.com/travist/jsencrypt/blob/master/jsbn/rng.js#L35 :

window.addEventListener("mousemove", onMouseMoveListener);

Firefox4 complains about a missing parameter. When adding "false" as a third parameter, the error is not raised up:

window.addEventListener("mousemove", onMouseMoveListener, false);

This issue is also reported in CreateJS/PreloadJS#4

@travist thanks for jsencrypt. It works as a breeze and is well documented.

zoloft added a commit to zoloft/jsencrypt-core-libs that referenced this issue May 27, 2014
@zoloft
Copy link
Collaborator

zoloft commented Jun 5, 2014

fixed in branch develop, as soon as finish the ECC part i'll merge it into master

@zoloft zoloft closed this as completed Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants