mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
Minor syntax improvement
This commit is contained in:
@@ -55,7 +55,7 @@ export function actionStraighten(selectedIDs, projection) {
|
||||
endNodeIdx = nodes.indexOf(graph.entity(selectedNodes[1])),
|
||||
sortedStartEnd = [startNodeIdx, endNodeIdx];
|
||||
|
||||
sortedStartEnd.sort(function(a,b) {
|
||||
sortedStartEnd.sort(function(a, b) {
|
||||
return a - b;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user