diff options
Diffstat (limited to 'src/animation/Runner.js')
-rw-r--r-- | src/animation/Runner.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/animation/Runner.js b/src/animation/Runner.js index 8c26578..eebfb75 100644 --- a/src/animation/Runner.js +++ b/src/animation/Runner.js @@ -136,6 +136,10 @@ export default class Runner extends EventTarget { this._times = times || Infinity this._swing = swing || false this._wait = wait || 0 + + // Allow true to be passed + if (this._times === true) { this._times = Infinity } + return this } |