|
@@ -504,9 +504,12 @@
|
|
notes.classList.add( 'hidden' );
|
|
notes.classList.add( 'hidden' );
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Don't show lightboxes in the upcoming slide
|
|
|
|
+ const { previewVideo, previewImage, previewIframe, ...upcomingState } = data.state;
|
|
|
|
+
|
|
// Update the note slides
|
|
// Update the note slides
|
|
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
|
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
|
- upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
|
|
|
|
|
+ upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ upcomingState ] }), '*' );
|
|
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'next' }), '*' );
|
|
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'next' }), '*' );
|
|
|
|
|
|
}
|
|
}
|