bugfix: allowing to properly call the checkVoteCapability on each poll access
closes #26 (closed)
@clement : There, I modified the way we were checking that it was possible for the current user to vote.
The "can vote" endpoint call is triggered every time too.
On Math.js I just moved the functions declarations out of the event listener call. Ping @Senza that what we speak about when we speak about readability.
Edited by Clément