Skip to content

Commit c4a44c2

Browse files
committed
Remove old seek condition
1 parent b48c52a commit c4a44c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ function SpotifyWebHelper(opts) {
282282
stopSeekingInterval.call(this);
283283
}
284284
}
285-
if (Math.abs(this.status.playing_position - status.playing_position) > 5) {
286285
// Guarantee seekingInterval won't affect the seek event
287286
if (Math.abs(this.status.playing_position - status.playing_position) > (2 * SEEK_INTERVAL_LENGTH) / 1000) {
288287
this.player.emit('seek', status.playing_position);

0 commit comments

Comments
 (0)