diff --git a/js/controllers/slidecontent.js b/js/controllers/slidecontent.js index 3b3594da..c6fa56a1 100644 --- a/js/controllers/slidecontent.js +++ b/js/controllers/slidecontent.js @@ -102,12 +102,12 @@ export default class SlideContent { // Images if( backgroundImage ) { - let backgroundString = '' + let backgroundString = ''; backgroundImage.split(',').forEach(background => { backgroundString = backgroundString.concat( 'url(' + encodeURI(background.trim()) + '),' ); - }) + }); backgroundContent.style.backgroundImage = backgroundString.substr(0, backgroundString.length - 1); } // Videos