patch to allow multiplexing on URL load
This commit is contained in:
parent
360bc94006
commit
b279a47a76
|
@ -19,6 +19,9 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// post once the page is loaded, so the client follows also on "open URL".
|
||||||
|
window.onload = post;
|
||||||
|
|
||||||
// Monitor events that trigger a change in state
|
// Monitor events that trigger a change in state
|
||||||
Reveal.addEventListener( 'slidechanged', post );
|
Reveal.addEventListener( 'slidechanged', post );
|
||||||
Reveal.addEventListener( 'fragmentshown', post );
|
Reveal.addEventListener( 'fragmentshown', post );
|
||||||
|
@ -28,4 +31,4 @@
|
||||||
Reveal.addEventListener( 'paused', post );
|
Reveal.addEventListener( 'paused', post );
|
||||||
Reveal.addEventListener( 'resumed', post );
|
Reveal.addEventListener( 'resumed', post );
|
||||||
|
|
||||||
}());
|
}());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user