Эх сурвалжийг харах

enforce max width/height on iframes (#244), disabled mouse wheel navigation by default

Hakim El Hattab 12 жил өмнө
parent
commit
c61dc00a98

+ 1 - 1
README.md

@@ -83,7 +83,7 @@ Reveal.initialize({
 	autoSlide: 0,
 	autoSlide: 0,
 
 
 	// Enable slide navigation via mouse wheel
 	// Enable slide navigation via mouse wheel
-	mouseWheel: true,
+	mouseWheel: false,
 
 
 	// Apply a 3D roll to links on hover
 	// Apply a 3D roll to links on hover
 	rollingLinks: true,
 	rollingLinks: true,

+ 2 - 1
css/reveal.css

@@ -176,7 +176,8 @@ body {
 }
 }
 
 
 /* Preserve aspect ratio and scale image so it's bound within the section */
 /* Preserve aspect ratio and scale image so it's bound within the section */
-.reveal img {
+.reveal img,
+.reveal iframe {
 	max-width: 100%;
 	max-width: 100%;
 	max-height: 100%;
 	max-height: 100%;
 }
 }

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


+ 1 - 1
js/reveal.js

@@ -42,7 +42,7 @@ var Reveal = (function(){
 			autoSlide: 0,
 			autoSlide: 0,
 
 
 			// Enable slide navigation via mouse wheel
 			// Enable slide navigation via mouse wheel
-			mouseWheel: true,
+			mouseWheel: false,
 
 
 			// Apply a 3D roll to links on hover
 			// Apply a 3D roll to links on hover
 			rollingLinks: true,
 			rollingLinks: true,

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


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