1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

More comfortable simple components system

This commit is contained in:
2024-03-31 21:28:29 +04:00
parent d51beccd3b
commit c22023775a
5 changed files with 202 additions and 24 deletions

View File

@@ -1,5 +1,10 @@
import {createMaintenancePopup} from "$lib/components/MaintenancePopup.js";
import {createMaintenanceTools} from "$lib/components/MaintenanceTools.js";
document.querySelectorAll('.media-box').forEach(mediaBoxElement => {
mediaBoxElement.appendChild(createMaintenancePopup());
mediaBoxElement.appendChild(
createMaintenanceTools(
createMaintenancePopup()
)
);
});