mirror of https://git.wownero.com/dsc/mxe.git
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.
This commit is contained in:
parent
c098cd5f6c
commit
ef22fd5843
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue