Commit 1188817f authored by Kevin Bullock's avatar Kevin Bullock
Browse files

downloads: indent onload function 4 spaces like the rest of the code

parent 23ff698c5dbb
......@@ -134,12 +134,12 @@
};
(function (document, window) {
var load = function () {
Downloader.init(sources);
window.dl = Downloader.select();
var versElement = document.getElementById('download-version')
, descElement = document.getElementById('download-description');
versElement.appendChild(document.createTextNode(dl.attr('version')));
descElement.appendChild(document.createTextNode(dl.attr('desc')));
}
var load = function () {
Downloader.init(sources);
window.dl = Downloader.select();
var versElement = document.getElementById('download-version')
, descElement = document.getElementById('download-description');
versElement.appendChild(document.createTextNode(dl.attr('version')));
descElement.appendChild(document.createTextNode(dl.attr('desc')));
}
......@@ -145,6 +145,6 @@
if (document.readyState !== 'complete') {
document.addEventListener('DOMContentLoaded', load);
return;
}
if (document.readyState !== 'complete') {
document.addEventListener('DOMContentLoaded', load);
return;
}
......@@ -150,3 +150,3 @@
load();
load();
})(document, window);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment