mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-06 03:11:22 +00:00
Save history more frequently (#1345)
This commit is contained in:
@@ -15,6 +15,8 @@ iD.modes.Browse = function(context) {
|
||||
iD.modes.DragNode(context).behavior];
|
||||
|
||||
mode.enter = function() {
|
||||
context.history().save();
|
||||
|
||||
behaviors.forEach(function(behavior) {
|
||||
context.install(behavior);
|
||||
});
|
||||
|
||||
@@ -70,6 +70,8 @@ iD.modes.Select = function(context, selectedIDs) {
|
||||
};
|
||||
|
||||
mode.enter = function() {
|
||||
context.history().save();
|
||||
|
||||
behaviors.forEach(function(behavior) {
|
||||
context.install(behavior);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user