Skip to content
Snippets Groups Projects
Commit 40fa26c4 authored by Xiao Gui's avatar Xiao Gui
Browse files

fix FF redirection bug

parent 5ab8cc62
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,7 @@ export class ConfigComponent implements OnInit, OnDestroy{
}
handleDrop(event:DragEvent){
event.preventDefault()
const droppedAttri = (event.target as HTMLElement).getAttribute('panel-order')
const draggedAttri = event.dataTransfer.getData('text/plain')
if (droppedAttri === draggedAttri) return
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment