瀏覽代碼

Fix jshint test

Rick Lupton 11 年之前
父節點
當前提交
d355a04061
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      js/reveal.js

+ 2 - 2
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 );
 				}
 			}