diff static/js/download.js @ 481:23ff698c5dbb

downloads: fix download on front page since c65b81353b8f
author Kevin Bullock <kbullock+mercurial@ringworld.org>
date Wed, 05 Jul 2017 14:22:48 -0500
parents c65b81353b8f
children 1188817fdf3a
line wrap: on
line diff
--- a/static/js/download.js	Mon Jul 03 08:18:57 2017 +0200
+++ b/static/js/download.js	Wed Jul 05 14:22:48 2017 -0500
@@ -136,7 +136,7 @@
 (function (document, window) {
   var load = function () {
     Downloader.init(sources);
-    var dl = Downloader.select();
+    window.dl = Downloader.select();
     var versElement = document.getElementById('download-version')
       , descElement = document.getElementById('download-description');
     versElement.appendChild(document.createTextNode(dl.attr('version')));