diff --git a/desktop/src/scripts/marketplace.js b/desktop/src/scripts/marketplace.js index abc71bf..a3598ac 100644 --- a/desktop/src/scripts/marketplace.js +++ b/desktop/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/desktop/views/gallery/gallery.html b/desktop/views/gallery/gallery.html index 0b336f7..811c09e 100644 --- a/desktop/views/gallery/gallery.html +++ b/desktop/views/gallery/gallery.html @@ -59,5 +59,6 @@ + \ No newline at end of file diff --git a/desktop/views/marketplace.html b/desktop/views/marketplace.html index 94913a4..fcf1a05 100644 --- a/desktop/views/marketplace.html +++ b/desktop/views/marketplace.html @@ -56,7 +56,7 @@ - +