Skip to content

Commit 83dc91f

Browse files
committed
When in preview mode, advance the carousel rather than checking times
1 parent a6fb116 commit 83dc91f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Engine/Convert/Resources/Slideshow/slideshow.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ function slideshow(s) {
6666
switch (s.mode) {
6767
case 'schedule':
6868
setInterval(function(){
69+
if (document.location.hash.indexOf('slideshow=preview') != -1) {
70+
$carousel.carousel('next');
71+
return;
72+
}
6973
// Select the slide to show.
7074
var ms = (new Date()).getTime();
7175
for (i = 0; i < s.items.length; ++i) {

0 commit comments

Comments
 (0)