labelsettings should be inherted
This commit is contained in:
parent
af472e57ef
commit
ead3a60d08
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ c3nav = {
|
||||||
location.match = ' ' + location.title_words.join(' ') + ' ' + location.subtitle_words.join(' ') + ' ' + location.effective_slug + ' ' + location.add_search.toLowerCase();
|
location.match = ' ' + location.title_words.join(' ') + ' ' + location.subtitle_words.join(' ') + ' ' + location.effective_slug + ' ' + location.add_search.toLowerCase();
|
||||||
locations.push(location);
|
locations.push(location);
|
||||||
locations_by_id[location.id] = location;
|
locations_by_id[location.id] = location;
|
||||||
if (location.point && location.label_settings) {
|
if (location.point && location.effective_label_settings) {
|
||||||
if (!(location.point[0] in labels)) labels[location.point[0]] = [];
|
if (!(location.point[0] in labels)) labels[location.point[0]] = [];
|
||||||
labels[location.point[0]].push([location, c3nav._build_location_label(location)]);
|
labels[location.point[0]].push([location, c3nav._build_location_label(location)]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue