From d9cb356b8404b392a16c4d1f5152a6050ebb7b5a Mon Sep 17 00:00:00 2001 From: lenafx Date: Sun, 11 Jan 2026 17:29:54 +0100 Subject: [PATCH] added missing imports on desktop ver --- desktop/src/scripts/marketplace.js | 6 +++--- desktop/views/gallery/gallery.html | 1 + desktop/views/marketplace.html | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) 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 @@ - +