smoke.js icon indicating copy to clipboard operation
smoke.js copied to clipboard

Quiz is not limited to 3 buttons

Open mattlockyer opened this issue 9 years ago • 2 comments

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.

mattlockyer avatar Mar 27 '16 15:03 mattlockyer

Changed quiz button builder code to use while loop if buttons exist in the format: 'button_' + i

mattlockyer avatar Mar 27 '16 15:03 mattlockyer

https://github.com/hxgf/smoke.js/pull/64/commits/61d8749cb0af42b2fb41753ef60aaa963d46bd72

more universal solution

Falseclock avatar Mar 16 '17 04:03 Falseclock