Closed mathjazz closed 12 years ago
Thanks. I'm wondering if a Number comparison wouldn't be better than the minus -
detection ?
Something like this : $("#nextslideidx").innerHTML = +argv[1] < 0 ? "END" : argv[1];
I agree, your solution looks more elegant.
Thanks. If you feel like keeping my solution. Feel free to update (ammend) your commit, I'll merge it right away...
Done.
Currently, onstage.html displays the last slide number as -1.0.
This is a fix which will display END instead of -1.0 as the last slide's number.