Commit 992b467b authored by Oleg Roschupkin's avatar Oleg Roschupkin

Fix inner navigation issue with querySelectorAll.

querySelectorAll doesn't work with numeric ID's.
parent 04c491eb
......@@ -176,7 +176,7 @@
// Shortcut for slides without inner navigation
if (true !== slideList[slideNumber].hasInnerNavigation) { return -1; }
var nextNodes = document.querySelectorAll(getSlideHash(slideNumber) + ' .next:not(.active)'),
var nextNodes = document.getElementById(slideList[slideNumber].id).querySelectorAll('.next:not(.active)'),
node;
if (0 !== nextNodes.length) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment