mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Fix eslint error
This commit is contained in:
@@ -8,7 +8,11 @@ export function operationDisconnect(selectedIDs, context) {
|
||||
ways = [];
|
||||
|
||||
selectedIDs.forEach(function(id) {
|
||||
context.geometry(id) === 'vertex' ? vertices.push(id) : ways.push(id);
|
||||
if (context.geometry(id) === 'vertex') {
|
||||
vertices.push(id);
|
||||
} else {
|
||||
ways.push(id);
|
||||
}
|
||||
});
|
||||
|
||||
var entityID = vertices[0];
|
||||
|
||||
Reference in New Issue
Block a user