added missing imports on desktop ver

This commit is contained in:
2026-01-11 17:29:54 +01:00
parent d9139c1512
commit d9cb356b84
3 changed files with 5 additions and 4 deletions

View File

@@ -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 {

View File

@@ -59,5 +59,6 @@
<script src="/src/scripts/gallery/gallery.js"></script>
<script src="/src/scripts/rpc-inapp.js"></script>
<script src="/src/scripts/auth-guard.js"></script>
<script src="/src/scripts/settings.js"></script>
</body>
</html>

View File

@@ -56,7 +56,7 @@
</main>
<script src="/src/scripts/utils/notification-utils.js"></script>
<link rel="stylesheet" href="/views/css/components/create-room.css"/>
<script src="/src/scripts/room-modal.js"></script>
<script src="/src/scripts/updateNotifier.js"></script>
<script src="/src/scripts/marketplace.js"></script>
<script src="/src/scripts/rpc-inapp.js"></script>