Fix jshint test
authorRick Lupton <r.lupton@gmail.com>
Sun, 16 Jun 2013 21:25:37 +0000 (22:25 +0100)
committerRick Lupton <r.lupton@gmail.com>
Sun, 16 Jun 2013 21:25:37 +0000 (22:25 +0100)
js/reveal.js

index 51b84ea6a055262da29627dc77c48403c0501e48..132237a51c49f698d2f64f774774914d9d4ee2e3 100644 (file)
@@ -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 );
                                }
                        }