diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/js/slide.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/js/slide.js b/public/js/slide.js index c7852021..e0e831ca 100644 --- a/public/js/slide.js +++ b/public/js/slide.js @@ -124,6 +124,12 @@ var options = { width: meta.slideOptions.width } || {} +for (const key in options) { + if (options.hasOwnProperty(key) && options[key] === undefined) { + delete options[key] + } +} + const view = $('.reveal') // text language |