mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2024-11-09 16:11:52 +00:00
fix(capture countdown): Typo on cancel action
This commit is contained in:
parent
c68f59cc57
commit
73f5757693
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ class Countdown extends EventEmitter {
|
|||
}
|
||||
|
||||
cancel () {
|
||||
if (this.running && !this._ended) {
|
||||
if (this._running && !this._ended) {
|
||||
this._cleanup()
|
||||
|
||||
this._cancelled = true
|
||||
|
|
|
@ -104,7 +104,7 @@ export default {
|
|||
this.countdown = null
|
||||
})
|
||||
|
||||
this.countdown.on('done', () => {
|
||||
this.countdown.on('cancelled', () => {
|
||||
console.log('cancelled')
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue