From 7b09a97f6c71a76312822a1601b8f0e8d302fe6e Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 10 Oct 2013 13:42:23 -0700 Subject: [PATCH] Remove unnecessary history save The intro saves and restored the current state via toJSON/fromJSON. --- js/id/ui/intro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/ui/intro.js b/js/id/ui/intro.js index aa48fc19b..91c55358a 100644 --- a/js/id/ui/intro.js +++ b/js/id/ui/intro.js @@ -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) {