Skip to content

Commit 919d2d6

Browse files
Using EventEmitter emit method to dispatch seek update event
1 parent dd2bd96 commit 919d2d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Object.defineProperty(HTML5AudioSound.prototype, 'seek', {
305305
else if (this.isPaused) {
306306
this.currentConfig.seek = value;
307307
}
308-
this.events.dispatch(new SoundValueEvent(this, 'SOUND_SEEK', value));
308+
this.emit('seek', this, value);
309309
}
310310
}
311311
});

0 commit comments

Comments
 (0)