The cookie consent now checks if there is a cookie, and sets one if the button gets clicked
Changed event to click
adde preventDefault to the click event
fixed typo
Update cookie-consent.js

My computer is doing weird stuff, fixed things trough github's edit instead :)
Merge pull request #43 from Kunstmaan/feature/cookies

The cookie consent now sets a cookie