Skip to content

Commit 88fd82e

Browse files
committed
Remove unnecessary brackets.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
1 parent e93ee2a commit 88fd82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/simplewebrtc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5360,7 +5360,7 @@
53605360
self.emit('localStream', stream);
53615361
} else {
53625362
// Fallback for users without a camera
5363-
if (self.config.audioFallback && ((err.name === 'DevicesNotFoundError') || (err.name === 'NotFoundError')) && constraints.video !== false) {
5363+
if (self.config.audioFallback && (err.name === 'DevicesNotFoundError' || err.name === 'NotFoundError') && constraints.video !== false) {
53645364
constraints.video = false;
53655365
self.start(constraints, cb);
53665366
return;

0 commit comments

Comments
 (0)