mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-26 14:34:27 +02:00
@@ -51,7 +51,10 @@ export default class AutoSlide {
|
|||||||
* automatically.
|
* automatically.
|
||||||
*/
|
*/
|
||||||
play(time) {
|
play(time) {
|
||||||
time = time || this.time;
|
if (typeof time !== 'number') {
|
||||||
|
time = this.time;
|
||||||
|
}
|
||||||
|
|
||||||
this.time = time;
|
this.time = time;
|
||||||
|
|
||||||
if (!this.interval_ && typeof time === 'number' && time > 0) {
|
if (!this.interval_ && typeof time === 'number' && time > 0) {
|
||||||
|
Reference in New Issue
Block a user