pepelsbey/shower — Issue #63: Inner navigation should be also triggered by space key
Author: pepelsbey
Created: 2012-03-01 22:23:53+00:00
State: open
Labels: bug, prioritized

So I guess this code should be moved to the separate function or something like that:

```javascript
if (!isListMode() ) {
// Inner navigation is "completed" if current slide have
// no inner navigation or inner navigation is fully shown
innerNavigationCompleted = !slideList[currentSlideNumber].hasInnerNavigation ||
-1 === increaseInnerNavigation(currentSlideNumber);
} else {
// Also inner navigation is always "completed" if we are in
// list mode
innerNavigationCompleted = true;
}
// NOTE: First of all check if there is no current slide
if (
-1 === currentSlideNumber || innerNavigationCompleted
) {
currentSlideNumber++;
goToSlide(currentSlideNumber);
// We must run slideshow only in full mode
if (!isListMode()) {
runSlideshowIfPresented(currentSlideNumber);
}
}
```