mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-31 12:19:31 +02:00
Add discard tags action
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
iD.actions.DiscardTags = function(entity) {
|
||||
return entity.update({
|
||||
tags: _.omit(entity.tags, iD.data.discarded)
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user