diff --git a/extensions/goto/deck.goto.js b/extensions/goto/deck.goto.js index 6a90f16c..e3d5b0bd 100644 --- a/extensions/goto/deck.goto.js +++ b/extensions/goto/deck.goto.js @@ -78,7 +78,7 @@ the deck container. var index = parseInt(indexOrId, 10); if (!options.countNested) { - if (!isNaN(index) && index >= rootCounter) { + if (!isNaN(index) && (index > rootCounter || index <= 0)) { return false; } $.each($.deck('getSlides'), function(i, $slide) {