Skip to content

Commit

Permalink
revert missing param
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 committed Mar 12, 2024
1 parent 5470a4c commit b4d2367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eme.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const getSupportedKeySystem = (keySystems) => {
promise =
window.navigator.requestMediaKeySystemAccess(keySystem, supportedConfigurations);
} else {
promise = promise.catch(() => {
promise = promise.catch((e) => {
window.navigator.requestMediaKeySystemAccess(keySystem, supportedConfigurations);
});
}
Expand Down

0 comments on commit b4d2367

Please sign in to comment.