mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +00:00
Don't write unsavable changes to localStorage (closes #2705)
This commit is contained in:
@@ -198,7 +198,7 @@ iD.History = function(context) {
|
||||
},
|
||||
|
||||
toJSON: function() {
|
||||
if (stack.length <= 1) return;
|
||||
if (!this.hasChanges()) return;
|
||||
|
||||
var allEntities = {},
|
||||
baseEntities = {},
|
||||
|
||||
Reference in New Issue
Block a user