MCPcopy Create free account
hub / github.com/dajie111/nodeseek-userscript / handleReplyDragStart

Function handleReplyDragStart

quickReply.js:1093–1099  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1091
1092 // 回复拖拽处理函数
1093 function handleReplyDragStart(e) {
1094 replyDraggedElement = this;
1095 replyDraggedIndex = parseInt(this.dataset.index);
1096 this.classList.add('reply-item-dragging');
1097 e.dataTransfer.effectAllowed = 'move';
1098 e.dataTransfer.setData('text/html', this.outerHTML);
1099 }
1100
1101 function handleReplyDragOver(e) {
1102 if (e.preventDefault) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected