From 0f87da63408465c51d377242253972abcb70c3f9 Mon Sep 17 00:00:00 2001 From: ricloy Date: Wed, 28 Oct 2020 10:46:07 +0000 Subject: [PATCH] Update line.js fix walkthrough hangs when "Washington street" is split --- modules/ui/intro/line.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/intro/line.js b/modules/ui/intro/line.js index 641887a25..2ab2543b9 100644 --- a/modules/ui/intro/line.js +++ b/modules/ui/intro/line.js @@ -725,7 +725,7 @@ export function uiIntroLine(context, reveal) { context.history().on('change.intro', function(changed) { wasChanged = true; timeout(function() { - if (context.history().undoAnnotation() === t('operations.split.annotation.line')) { + if (context.history().undoAnnotation() === t('operations.split.annotation.line', { n: 1 })) { _washingtonSegmentID = changed.created()[0].id; continueTo(didSplit); } else {