jewlofthelotus / SlickQuiz

A jQuery plugin for creating pretty, dynamic quizzes.
http://jewlofthelotus.github.com/SlickQuiz
MIT License
400 stars 244 forks source link

correct answer logic fails with Jquery > 3 #81

Open jackkinsella opened 7 years ago

jackkinsella commented 7 years ago

I know this library comes recommended for an earlier version of jQuery, but I wanted to bring this issue up so as to save anyone else some head-scratching.

The issue is that the not function in Jquery changed its behaviour recently: https://github.com/jquery/jquery/issues/3147

This breaks the compareAnswers function.

jackkinsella commented 7 years ago

suggested fix in PR: https://github.com/jewlofthelotus/SlickQuiz/compare/master...jackkinsella:patch-1