From 992b467b9f73fd4684a05bb68aa47e86278155b9 Mon Sep 17 00:00:00 2001 From: Oleg Roschupkin Date: Thu, 1 Mar 2012 18:04:06 +0900 Subject: [PATCH] Fix inner navigation issue with querySelectorAll. querySelectorAll doesn't work with numeric ID's. --- scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/script.js b/scripts/script.js index 883b894..08de79b 100755 --- a/scripts/script.js +++ b/scripts/script.js @@ -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) {