Skip to content

Commit 0673934

Browse files
committed
Fix - drop handling on tabs layout
One should not use id attribute but simply node itself
1 parent bb63f6e commit 0673934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gui/HierarchyPainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2031,7 +2031,7 @@ class HierarchyPainter extends BasePainter {
20312031
}).on('drop', function(ev) {
20322032
d3_select(this).classed('jsroot_drag_area', false);
20332033
let itemname = ev.dataTransfer.getData('item');
2034-
if (itemname) h.dropItem(itemname, this.getAttribute('id'));
2034+
if (itemname) h.dropItem(itemname, this);
20352035
});
20362036
}
20372037

0 commit comments

Comments
 (0)