# HG changeset patch # User Kevin Bullock # Date 1494817300 18000 # Node ID 1188817fdf3a34d613d19be1c4cf077b0d74653c # Parent 23ff698c5dbb8d205fb81230b4e41db837cfb624 downloads: indent onload function 4 spaces like the rest of the code diff -r 23ff698c5dbb -r 1188817fdf3a static/js/download.js --- a/static/js/download.js Wed Jul 05 14:22:48 2017 -0500 +++ b/static/js/download.js Sun May 14 22:01:40 2017 -0500 @@ -134,19 +134,19 @@ }; (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'))); + } - if (document.readyState !== 'complete') { - document.addEventListener('DOMContentLoaded', load); - return; - } + if (document.readyState !== 'complete') { + document.addEventListener('DOMContentLoaded', load); + return; + } - load(); + load(); })(document, window);