|
@@ -59,6 +59,10 @@ var Reveal = (function(){
|
|
|
|
|
|
fragments: true,
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ embed: false,
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -2371,7 +2375,18 @@ var Reveal = (function(){
|
|
|
navigateDown();
|
|
|
}
|
|
|
|
|
|
- event.preventDefault();
|
|
|
+
|
|
|
+
|
|
|
+ if( config.embed ) {
|
|
|
+ if( touch.captured || isVerticalSlide( currentSlide ) ) {
|
|
|
+ event.preventDefault();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ else {
|
|
|
+ event.preventDefault();
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
}
|