Expected behavior: It should go back to the beginning of the poem when you click the last line. Actual behavior: It says "undefined" and then gets stuck there. I think the problem is in poem.js. Can somebody fix this?
Expected behavior: It should go back to the beginning of the poem when you click the last line.
Actual behavior: It says "undefined" and then gets stuck there.
I think the problem is in poem.js. Can somebody fix this?