add dropdown scripts

This commit is contained in:
SowinskiBraeden committed 2025-05-14 15:05:14 -07:00
1 parent 61db8e162f
commit 60238b7a9a
2 files changed
+24 -23

No files matched your search

+2 -2
View File
@@ -61,7 +61,7 @@
<script src="/static/scripts/assetManager.js"></script>
<script>
// Ensure all assets popup modals are locked and reset on page load
let assets = JSON.parse("<%= assets %>");
let assets = <%- JSON.stringify(assets) %>;
assets.forEach((asset) => {
lockAsset(asset._id, asset.icon);
});
@@ -69,4 +69,4 @@
<%- include("./partials/navBar") %>
<%- include("./partials/scriptLoader") %>
<%- include("./partials/footer") %>
<%- include("./partials/footer") %>