make dynamiclocation work in js
This commit is contained in:
parent
a5ef064f63
commit
726d02f014
1 changed files with 1 additions and 1 deletions
|
@ -1709,7 +1709,7 @@ c3nav = {
|
|||
// if location is not in the searchable list...
|
||||
return
|
||||
}
|
||||
if (location.dynamic) {
|
||||
if (location.dynamic || location.locationtype === "dynamiclocation") {
|
||||
if (!('available' in location)) {
|
||||
c3nav_api.get(`map/positions/${location.id}/`)
|
||||
.then(c3nav._dynamic_location_loaded);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue