Merge pull request #1 from ricloy/ricloy-patch-1

Update line.js
This commit is contained in:
ricloy
2020-10-28 10:49:44 +00:00
committed by GitHub

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 {