mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
@@ -65,7 +65,7 @@ export function behaviorPaste(context) {
|
||||
|
||||
extent._extend(oldEntity.extent(oldGraph));
|
||||
context.perform(
|
||||
actionChangeTags(newEntity.id, _.omit(newEntity.tags, omitTag))
|
||||
actionChangeTags(newEntity.id, _.omitBy(newEntity.tags, omitTag))
|
||||
);
|
||||
|
||||
// Exclude child nodes from newIDs if their parent way was also copied.
|
||||
|
||||
@@ -59,7 +59,7 @@ function setSortMembers(params) {
|
||||
|
||||
|
||||
function clean(params) {
|
||||
return _.omit(params, 'geometry', 'debounce');
|
||||
return _.omit(params, ['geometry', 'debounce']);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user