From bbedb99a7be9a43872b0460adbc3b5124837eed3 Mon Sep 17 00:00:00 2001 From: Trung Le Date: Sun, 1 Dec 2024 21:01:58 -0800 Subject: [PATCH] Update mediaSlider_v2.js --- js/mediaSlider_v2.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/mediaSlider_v2.js b/js/mediaSlider_v2.js index 7311c60..618bef6 100644 --- a/js/mediaSlider_v2.js +++ b/js/mediaSlider_v2.js @@ -105,9 +105,6 @@ class MediaSlider { } createMediaElement(url) { - if (!url) { - return ``; - } const mediaType = this.detectMediaType(url); switch(mediaType) { case 'image':