mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Fix faulty datum test from 681ee5a
This commit is contained in:
@@ -74,7 +74,7 @@ export function behaviorSelect(context) {
|
||||
mode = context.mode();
|
||||
|
||||
|
||||
if (!datum || datum.type === 'midpoint') {
|
||||
if (datum && datum.type === 'midpoint') {
|
||||
// do nothing..
|
||||
|
||||
} else if (!(datum instanceof osmEntity)) {
|
||||
|
||||
Reference in New Issue
Block a user