Skip to content

Commit

Permalink
Merge branch 'issue-1324' of https://github.com/mojavelinux/reveal.js
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
hakimel committed Feb 2, 2017
2 parents c14573e + ccbc7ed commit c1ba651
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
minScale: 0.2,
maxScale: 2.0,

// Value of the display CSS property applied to current slide to make it visible
display: 'block',

// Display controls in the bottom right corner
controls: true,

Expand Down Expand Up @@ -2994,7 +2997,7 @@
function showSlide( slide ) {

// Show the slide element
slide.style.display = 'block';
slide.style.display = config.display;

// Media elements with data-src attributes
toArray( slide.querySelectorAll( 'img[data-src], video[data-src], audio[data-src]' ) ).forEach( function( element ) {
Expand Down

0 comments on commit c1ba651

Please sign in to comment.