add missing context parameter to call of intro.pad() in method retry() for incomplete way drawings

This commit is contained in:
tyr
2013-08-24 18:51:21 +02:00
parent 7a1a97975e
commit 8c2fb92dad
+1 -1
View File
@@ -61,7 +61,7 @@ iD.ui.intro.line = function(context, reveal) {
// ended line before creating intersection
function retry(mode) {
if (mode.id !== 'select') return;
var pointBox = iD.ui.intro.pad(intersection, 30);
var pointBox = iD.ui.intro.pad(intersection, 30, context);
reveal(pointBox, t('intro.lines.restart'));
timeout(function() {
context.replace(iD.actions.DeleteMultiple(mode.selectedIDs()));