We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e5c692 commit c74d941Copy full SHA for c74d941
special-pages/pages/duckplayer/app/features/error-detection.js
@@ -31,8 +31,8 @@ export class ErrorDetection {
31
iframeDidLoad(iframe) {
32
this.iframe = iframe;
33
34
- if (!this.options || !this.options.signInRequiredSelector) {
35
- console.log('Missing Custom Error options');
+ if (!this.options?.state || this.options.state === 'disabled') {
+ console.log('Error detection disabled');
36
return null;
37
}
38
0 commit comments