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