Show place number on race result
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 14s
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 14s
This commit is contained in:
@ -41,13 +41,15 @@ function handleDrop(e) {
|
||||
// Don't do anything if dropping the same column we're dragging.
|
||||
if (dragSrcEl != this) {
|
||||
// Set the source column's HTML to the HTML of the column we dropped on.
|
||||
//alert(this.outerHTML);
|
||||
//dragSrcEl.innerHTML = this.innerHTML;
|
||||
//this.innerHTML = e.dataTransfer.getData('text/html');
|
||||
// alert(this.outerHTML);
|
||||
// dragSrcEl.innerHTML = this.innerHTML;
|
||||
// this.innerHTML = e.dataTransfer.getData('text/html');
|
||||
|
||||
this.parentNode.removeChild(dragSrcEl);
|
||||
let dropHTML = e.dataTransfer.getData('text/html');
|
||||
this.insertAdjacentHTML('beforebegin', dropHTML);
|
||||
let dropElem = this.previousSibling;
|
||||
|
||||
addDnDHandlers(dropElem);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user