diff options
author | hellekin <hellekin@cepheide.org> | 2018-04-03 11:28:46 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2018-04-03 11:28:46 +0200 |
commit | 4f6c8ac616d3da59cfc087d8fb826b56280102d8 (patch) | |
tree | f500d001174e945d85b79ebcb45ff281c33241af | |
parent | f1509a87c631a4e290043e39cff8a8253854813a (diff) | |
download | wallonie-demain-proto-4f6c8ac616d3da59cfc087d8fb826b56280102d8.tar.gz |
Preload JSON data earlier
-rw-r--r-- | assets/mapper.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/mapper.js b/assets/mapper.js index a948202..df3c8fe 100644 --- a/assets/mapper.js +++ b/assets/mapper.js @@ -200,6 +200,8 @@ function navSetup() { function listSections(sections) { var ul = $('<ul>') sections.forEach(function(s, i) { + // Preload data + fetchMarkers(sec_id) var li = $('<li>') li.attr('id', 's-' + s.id) li.html(s.name) |