MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / endDrag

Function endDrag

static/js/catalog.js:785–791  ·  view source on GitHub ↗
(itemEl)

Source from the content-addressed store, hash-verified

783}
784
785function endDrag(itemEl) {
786 dragId = null;
787 itemEl.classList.remove("dragging");
788 for (const el of document.querySelectorAll(".folder.drop-target")) el.classList.remove("drop-target");
789 document.querySelector(".rail-trash")?.classList.remove("drop-target");
790 document.getElementById("lanes")?.classList.remove("library-drop-target");
791}
792
793function dropOnFolder(folderId, trackId) {
794 const id = trackId ?? dragId;

Callers 1

wireTrackDragAndLoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected