Skip to content

Commit c74d941

Browse files
committed
Fixed kill switch
1 parent 9e5c692 commit c74d941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export class ErrorDetection {
3131
iframeDidLoad(iframe) {
3232
this.iframe = iframe;
3333

34-
if (!this.options || !this.options.signInRequiredSelector) {
35-
console.log('Missing Custom Error options');
34+
if (!this.options?.state || this.options.state === 'disabled') {
35+
console.log('Error detection disabled');
3636
return null;
3737
}
3838

0 commit comments

Comments
 (0)