From: Rick Lupton Date: Sun, 16 Jun 2013 21:25:37 +0000 (+0100) Subject: Fix jshint test X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d355a040616b40dd76f82414c569acb23ef0595c;p=reveal.js.git Fix jshint test --- 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 ); } }