Skip to content

Commit

Permalink
Update mediaSlider_v2.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ledangtrung committed Dec 2, 2024
1 parent be56130 commit bbedb99
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/mediaSlider_v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ class MediaSlider {
}

createMediaElement(url) {
if (!url) {
return `<i class="bi bi-file-earmark-x" title="Documents not available"></i>`;
}
const mediaType = this.detectMediaType(url);
switch(mediaType) {
case 'image':
Expand Down

0 comments on commit bbedb99

Please sign in to comment.