diff --git a/src/app.js b/src/app.js index 1032f761d0..8a4f16c8b6 100644 --- a/src/app.js +++ b/src/app.js @@ -475,7 +475,7 @@ var run = function () { $('#version').text(text); } - var loadVersion = function (version) { + function loadVersion (version) { setVersionText('(loading)'); queryParams.update({version: version}); if (window.soljsonReleases !== undefined && window.soljsonReleases[version] !== undefined) { @@ -496,7 +496,7 @@ var run = function () { } else { compiler.loadVersion(false, url); } - }; + } document.querySelector('#optimize').addEventListener('change', function () { queryParams.update({ optimize: document.querySelector('#optimize').checked });