add dropdown scripts
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -61,7 +61,7 @@
|
|||||||
<script src="/static/scripts/assetManager.js"></script>
|
<script src="/static/scripts/assetManager.js"></script>
|
||||||
<script>
|
<script>
|
||||||
// Ensure all assets popup modals are locked and reset on page load
|
// 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) => {
|
assets.forEach((asset) => {
|
||||||
lockAsset(asset._id, asset.icon);
|
lockAsset(asset._id, asset.icon);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/flowbite@3.1.2/dist/flowbite.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
<script src="/static/scripts/footer.js"></script>
|
<script src="/static/scripts/footer.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in new issue
Block a user