diff --git a/js/mediaSlider.js b/js/mediaSlider.js index 7e7c572..462e3be 100644 --- a/js/mediaSlider.js +++ b/js/mediaSlider.js @@ -106,7 +106,7 @@ class MediaSlider { createMediaElement(url) { if (!url) { - return ``; + return ``; } const mediaType = this.detectMediaType(url); switch(mediaType) { @@ -127,8 +127,7 @@ class MediaSlider { createSlider() { if (this.mediaUrls.length === 0) { - document.getElementById(this.containerId).innerHTML = '