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

add "addeventlistener" to document instead of window? #54

Open
tiga05 opened this issue Aug 1, 2018 · 0 comments
Open

add "addeventlistener" to document instead of window? #54

tiga05 opened this issue Aug 1, 2018 · 0 comments

Comments

@tiga05
Copy link

tiga05 commented Aug 1, 2018

Hello,

I use this script in connection with vuejs/vuetify/threejs. And for some reason your script does not work anymore after changing the route with the vuejs router.

I had to change "window" to "document" in your script to make it working.
these lines!

I am not a javascript expert, but you might have an idea why I had to do that. Is it possible to add this changes to your repo here at github?

Thank you for sharing this script. It saves me a lot of time to fix the shit apple had done (well, and took some time to find the solution for my problem :-).)

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

1 participant