parent
5751792b49
commit
fa86f0d248
1 changed files with 5 additions and 0 deletions
|
|
@ -57,6 +57,11 @@ L.BRouter = L.Class.extend({
|
||||||
delete params.profile;
|
delete params.profile;
|
||||||
if (params.alternativeidx == 0)
|
if (params.alternativeidx == 0)
|
||||||
delete params.alternativeidx;
|
delete params.alternativeidx;
|
||||||
|
|
||||||
|
// don't add custom profile, as these are only stored temporarily
|
||||||
|
if (params.profile && params.profile.substring(0, 7) === 'custom_') {
|
||||||
|
delete params.profile;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return params;
|
return params;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue