mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Don't include other in recent presets
This commit is contained in:
+3
-1
@@ -54,7 +54,9 @@ iD.presets = function(context) {
|
||||
};
|
||||
|
||||
all.choose = function(preset) {
|
||||
recent = iD.presets.Collection(_.unique([preset].concat(recent.collection)));
|
||||
if (preset !== other) {
|
||||
recent = iD.presets.Collection(_.unique([preset].concat(recent.collection)));
|
||||
}
|
||||
return all;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user