Remove unused parameter

This commit is contained in:
John Firebaugh
2013-01-31 11:55:01 -05:00
parent 806ec9fae3
commit 2655810efe
6 changed files with 6 additions and 6 deletions

View File

@@ -77,7 +77,7 @@ iD.modes.AddArea = function() {
.on('startFromMidpoint', startFromMidpoint);
mode.map.surface.call(behavior);
mode.map.tail(t('modes.add_area.tail'), true);
mode.map.tail(t('modes.add_area.tail'));
};
mode.exit = function() {

View File

@@ -84,7 +84,7 @@ iD.modes.AddLine = function() {
.on('startFromMidpoint', startFromMidpoint);
mode.map.surface.call(behavior);
mode.map.tail(t('modes.add_line.tail'), true);
mode.map.tail(t('modes.add_line.tail'));
};
mode.exit = function() {

View File

@@ -44,7 +44,7 @@ iD.modes.AddPoint = function() {
.on('finish', cancel);
mode.map.surface.call(behavior);
mode.map.tail(t('modes.add_point.tail'), true);
mode.map.tail(t('modes.add_point.tail'));
};
mode.exit = function() {

View File

@@ -24,7 +24,7 @@ iD.modes.DrawArea = function(wayId, baseGraph) {
};
mode.map.surface.call(behavior);
mode.map.tail(t('modes.draw_area.tail'), true);
mode.map.tail(t('modes.draw_area.tail'));
};
mode.exit = function() {

View File

@@ -24,7 +24,7 @@ iD.modes.DrawLine = function(wayId, direction, baseGraph) {
};
mode.map.surface.call(behavior);
mode.map.tail(t('modes.draw_line.tail'), true);
mode.map.tail(t('modes.draw_line.tail'));
};
mode.exit = function() {

View File

@@ -361,7 +361,7 @@ iD.Map = function() {
};
var usedTails = {};
map.tail = function (_, once) {
map.tail = function (_) {
if (!_ || usedTails[_] === undefined) {
tail.text(_);
usedTails[_] = true;