From d355a040616b40dd76f82414c569acb23ef0595c Mon Sep 17 00:00:00 2001 From: Rick Lupton Date: Sun, 16 Jun 2013 22:25:37 +0100 Subject: [PATCH] Fix jshint test --- js/reveal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index 51b84ea..132237a 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1758,8 +1758,8 @@ var Reveal = (function(){ var previousSlide = document.querySelector( HORIZONTAL_SLIDES_SELECTOR + '.past:nth-child(' + indexh + ')' ); if( previousSlide ) { - var v = ( previousSlide.querySelectorAll( 'section' ).length - 1 ) || undefined, - h = indexh - 1; + var v = ( previousSlide.querySelectorAll( 'section' ).length - 1 ) || undefined; + var h = indexh - 1; slide( h, v ); } }