diff --git a/docker/src/scripts/marketplace.js b/docker/src/scripts/marketplace.js index abc71bf..a3598ac 100644 --- a/docker/src/scripts/marketplace.js +++ b/docker/src/scripts/marketplace.js @@ -7,7 +7,7 @@ const marketplaceContent = document.getElementById('marketplace-content'); const filterSelect = document.getElementById('extension-filter'); const updateAllBtn = document.getElementById('btn-update-all'); -const modal = document.getElementById('customModal'); +const modal2 = document.getElementById('customModal'); const modalTitle = document.getElementById('modalTitle'); const modalMessage = document.getElementById('modalMessage'); const modalConfirmBtn = document.getElementById('modalConfirmButton'); @@ -212,10 +212,10 @@ function showModal(title, message, showConfirm = false, onConfirm = null) { modalConfirmBtn.classList.add('hidden'); } modalCloseBtn.onclick = hideModal; - modal.classList.remove('hidden'); + modal2.classList.remove('hidden'); } -function hideModal() { modal.classList.add('hidden'); } +function hideModal() { modal2.classList.add('hidden'); } async function handleInstall(ext) { try { diff --git a/docker/views/gallery/gallery.html b/docker/views/gallery/gallery.html index eded99b..904be2a 100644 --- a/docker/views/gallery/gallery.html +++ b/docker/views/gallery/gallery.html @@ -58,5 +58,6 @@ + \ No newline at end of file diff --git a/docker/views/marketplace.html b/docker/views/marketplace.html index dd6b549..ae22503 100644 --- a/docker/views/marketplace.html +++ b/docker/views/marketplace.html @@ -54,8 +54,8 @@ + -