Fix inner navigation issue with querySelectorAll.
querySelectorAll doesn't work with numeric ID's.
This commit is contained in:
parent
04c491eb8d
commit
992b467b9f
|
@ -176,7 +176,7 @@
|
||||||
// Shortcut for slides without inner navigation
|
// Shortcut for slides without inner navigation
|
||||||
if (true !== slideList[slideNumber].hasInnerNavigation) { return -1; }
|
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;
|
node;
|
||||||
|
|
||||||
if (0 !== nextNodes.length) {
|
if (0 !== nextNodes.length) {
|
||||||
|
|
Loading…
Reference in New Issue