When used during the lesson quiz, after getting a wrong answer that causes an info box to automatically open, this script will sometimes cause that box to immediately close again without user interaction. Any chance you could fix this behavior or make doublecheck work in lessons?
Edit: Upon additional investigation, it looks like the relevant lines are:
case 'warning': case '': break; default: $('#additional-content #option-item-info').click(); break;
So if there is no explicit case for
incorrect, and this causes it to click the item info button. This means that when the answer is wrong, the item info box will be automatically opened if it was closed and automatically closed if it was opened. What is the expected behavior?