Skip to content

Commit 11f5443

Browse files
committed
Cleanup
1 parent 07d5eb4 commit 11f5443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

special-pages/pages/duckplayer/app/features/error-detection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class ErrorDetection {
3131
iframeDidLoad(iframe) {
3232
this.iframe = iframe;
3333

34-
if (!this.options?.state || this.options.state === 'disabled') {
34+
if (this.options?.state !== 'enabled') {
3535
console.log('Error detection disabled');
3636
return null;
3737
}

0 commit comments

Comments
 (0)