diff --git a/public/js/slide.js b/public/js/slide.js index 61546339..455986f4 100644 --- a/public/js/slide.js +++ b/public/js/slide.js @@ -80,6 +80,8 @@ const defaultOptions = { } var options = meta.slideOptions || {} +// delete dependencies to avoid import user defined external resources +delete options.dependencies if (Object.hasOwnProperty.call(options, 'spotlight')) { defaultOptions.dependencies.push({