瀏覽代碼

== --> ===

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

+ 1 - 1
js/reveal.js

@@ -3902,7 +3902,7 @@
 
 		// Returns true if we're currently on the first slide
 		isFirstSlide: function() {
-			return ( indexh == 0 && indexv == 0 );
+			return ( indexh === 0 && indexv === 0 );
 		},
 
 		// Returns true if we're currently on the last slide