Update line.js

fix walkthrough hangs when "Washington street" is split
This commit is contained in:
ricloy
2020-10-28 10:46:07 +00:00
committed by GitHub
parent 4b43c1dff5
commit 0f87da6340
+1 -1
View File
@@ -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 {