mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
@@ -104,11 +104,7 @@ export function uiToolSave(context) {
|
||||
|
||||
|
||||
context.history()
|
||||
.on('change.save', function(diff) {
|
||||
if (!diff || diff.didChange.addition || diff.didChange.deletion) {
|
||||
updateCount(); // only on significant changes
|
||||
}
|
||||
});
|
||||
.on('change.save', updateCount);
|
||||
|
||||
context
|
||||
.on('enter.save', function() {
|
||||
|
||||
Reference in New Issue
Block a user