Show place number on race result
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 14s

This commit is contained in:
2024-02-26 23:34:48 +01:00
parent ab9440cb4a
commit 1f4489b3aa
3 changed files with 14 additions and 8 deletions

View File

@ -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);
}