Hakim El Hattab 13 жил өмнө
parent
commit
8222795c87

+ 2 - 5
js/reveal.js

@@ -1032,11 +1032,8 @@ var Reveal = (function(){
 
 
 			var wasActive = dom.wrapper.classList.contains( 'overview' );
 			var wasActive = dom.wrapper.classList.contains( 'overview' );
 
 
-			var depth = 2500;
-
-			if( window.innerWidth < 400 ) {
-				depth = 1000;
-			}
+			// Vary the depth of the overview based on screen size
+			var depth = window.innerWidth < 400 ? 1000 : 2500;
 
 
 			dom.wrapper.classList.add( 'overview' );
 			dom.wrapper.classList.add( 'overview' );
 			dom.wrapper.classList.remove( 'exit-overview' );
 			dom.wrapper.classList.remove( 'exit-overview' );

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 1 - 1
js/reveal.min.js


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно