mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 13:48:12 +00:00
[Drag-Drop] Check for default prevented correctly
Check for defaultPrevented property instead of trying to check nonexistent method isDefaultPrevented(); for WTD-1354 in the context of WTD-1233.
This commit is contained in:
@ -250,7 +250,7 @@ define(
|
||||
// Position a panel after a drop event
|
||||
function handleDrop(e, id, position) {
|
||||
// Don't handle this event if it has already been handled
|
||||
if (e.isDefaultPrevented()) {
|
||||
if (e.defaultPrevented) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
|
Reference in New Issue
Block a user