Fix inner navigation issue with querySelectorAll.

querySelectorAll doesn't work with numeric ID's.
This commit is contained in:
Oleg Roschupkin 2012-03-01 18:04:06 +09:00
parent 04c491eb8d
commit 992b467b9f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {