diff --git a/js/mediaSlider.js b/js/mediaSlider.js index 462e3be..ff864e4 100644 --- a/js/mediaSlider.js +++ b/js/mediaSlider.js @@ -106,7 +106,7 @@ class MediaSlider { createMediaElement(url) { if (!url) { - return ``; + return `
📄 No documents 📋
`; } const mediaType = this.detectMediaType(url); switch(mediaType) { @@ -127,7 +127,7 @@ class MediaSlider { createSlider() { if (this.mediaUrls.length === 0) { - document.getElementById(this.containerId).innerHTML = '
Documents unavailable
'; + document.getElementById(this.containerId).innerHTML = '
📄 No documents 📋
'; return; // Exit if there are no media URLs }