mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Remove unnecessary history save
The intro saves and restored the current state via toJSON/fromJSON.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ iD.ui.intro = function(context) {
|
||||
|
||||
// Load semi-real data used in intro
|
||||
context.connection().toggle(false).flush();
|
||||
context.history().save().reset();
|
||||
context.history().reset();
|
||||
|
||||
introGraph = JSON.parse(iD.introGraph);
|
||||
for (var key in introGraph) {
|
||||
|
||||
Reference in New Issue
Block a user