wwwg / kahoot.js

A library for interacting with Kahoot API.
MIT License
28 stars 8 forks source link

questionStart randomly firing twice. #4

Closed ptkenny closed 7 years ago

ptkenny commented 7 years ago

Basically the title. Sometimes, questionStart fires twice.

kahoot.on("questionEnd", questionEnd => { console.log("this is where the question ends"); });

http://i.imgur.com/U54bBh3.png

ptkenny commented 7 years ago

After some more debugging, I've figured out that a questionEnd event is fired twice when the time runs out on the question. Not sure what to do with this info.

ptkenny commented 7 years ago

Was there solution to this problem @wwwg?