smoke.js
smoke.js copied to clipboard
Quiz is not limited to 3 buttons
I found this bug incredibly annoying since the docs demonstrate 4 options. Using a loop should be more efficient and provide unlimited quiz options for the client.
Changed quiz button builder code to use while loop if buttons exist in the format: 'button_' + i
https://github.com/hxgf/smoke.js/pull/64/commits/61d8749cb0af42b2fb41753ef60aaa963d46bd72
more universal solution