diff --git a/docs/index.css b/docs/index.css index 5e80a34..65097de 100755 --- a/docs/index.css +++ b/docs/index.css @@ -126,6 +126,7 @@ body { margin-bottom: 0.5em; } +.download__ext[data-version]::after, .download__app[data-version]::after { color: var(--text-color-secondary); content: attr(data-version); diff --git a/docs/index.js b/docs/index.js index 3d5d470..565960f 100644 --- a/docs/index.js +++ b/docs/index.js @@ -70,6 +70,7 @@ function onResponse (res) { switch (asset.name.match(/.*\.(.*)$/).pop()) { case "xpi": downloadExtBtn.href = asset.browser_download_url; + downloadExtBtn.dataset.version = res.tag_name; downloadExtBtn.removeAttribute("disabled"); downloadExtBtn.removeAttribute("title"); break;