Skip to content

Commit

Permalink
Fix level switch regression introduced into dev with #5191
Browse files Browse the repository at this point in the history
  • Loading branch information
robwalch committed Mar 10, 2023
1 parent 78db660 commit 00f5541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/level-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export default class LevelController extends BasePlaylistController {
this.currentLevel = level;

if (
this.currentLevelIndex === newLevel &&
lastLevelIndex === newLevel &&
level.details &&
lastLevel &&
lastPathwayId === pathwayId
Expand Down

0 comments on commit 00f5541

Please sign in to comment.