Skip to content

Commit

Permalink
Fixing accidentally-global variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyBanks committed Jun 29, 2012
1 parent 9accb16 commit f8963b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/navigation/deck.navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This module adds clickable previous and next links to the deck.
last = $[deck]('getSlides').length - 1,
prevSlide = $[deck]('getSlide', to - 1),
nextSlide = $[deck]('getSlide', to + 1),
prevId = prevSlide ? prevSlide.attr('id') : undefined;
prevId = prevSlide ? prevSlide.attr('id') : undefined,
nextId = nextSlide ? nextSlide.attr('id') : undefined;

$(opts.selectors.previousLink)
Expand Down

0 comments on commit f8963b2

Please sign in to comment.