summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-12-20 08:28:18 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-12-22 21:28:29 (GMT)
commitef22fd584316d645787fe0929717dc2ae81119fd (patch)
treee34aa8be1e77709930c8b4c36b72113e215d23e7 /docs
parentc098cd5f6c79b96fed2eb118a184df5d713c8a0a (diff)
downloadmxe-ef22fd584316d645787fe0929717dc2ae81119fd.zip
mxe-ef22fd584316d645787fe0929717dc2ae81119fd.tar.gz
mxe-ef22fd584316d645787fe0929717dc2ae81119fd.tar.bz2
index.html: load packages.json synchronously
If it loads asynchronously, then all content after the table of packages, e.g. #creating-packages moves down, making it impossible to make a reference to this content.
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html
index e6f6161..2ece06b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1117,7 +1117,7 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<script>
function loadPackageCache(doneCallback) {
var request = new XMLHttpRequest();
- request.open('GET', 'packages.json', true);
+ request.open('GET', 'packages.json', false);
request.onreadystatechange = function reqCallback() {
if (request.readyState === 4) {
if (request.status === 200) {