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 f8e0c32 commit e29f484Copy full SHA for e29f484
injected/src/features/scriptlets.js
@@ -25,7 +25,7 @@ export class Scriptlets extends ContentFeature {
25
verbose: false,
26
};
27
28
- const scriptlets = this.getFeatureSetting('scriptlets');
+ const scriptlets = this.getFeatureSetting('scriptlets') || [];
29
for (const scriptlet of scriptlets) {
30
source.name = scriptlet.name;
31
source.args = Object.values(scriptlet.attrs);
0 commit comments