Make gulp release happy
This commit is contained in:
parent
7017e28d83
commit
2a93efe455
2 changed files with 8 additions and 4 deletions
|
|
@ -66,13 +66,13 @@ BR.Export = L.Class.extend({
|
|||
trackname.value = null;
|
||||
} else if (from === to) {
|
||||
trackname.value = i18next.t('export.route-loop', {
|
||||
from,
|
||||
distance
|
||||
from: from,
|
||||
distance: distance
|
||||
});
|
||||
} else {
|
||||
trackname.value = i18next.t(
|
||||
'export.route-from-to',
|
||||
{ from, to, distance }
|
||||
{ from: from, to: to, distance: distance }
|
||||
);
|
||||
}
|
||||
}, this)
|
||||
|
|
|
|||
|
|
@ -132,7 +132,11 @@ L.BRouter = L.Class.extend({
|
|||
if (urlParams.format != null)
|
||||
args.push(L.Util.template('format={format}', urlParams));
|
||||
if (trackname)
|
||||
args.push(L.Util.template('trackname={trackname}', { trackname }));
|
||||
args.push(
|
||||
L.Util.template('trackname={trackname}', {
|
||||
trackname: trackname
|
||||
})
|
||||
);
|
||||
|
||||
var prepend_host = format != null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue