From c51a325cabbb228ff7168acc78a678de12994c8e Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Thu, 11 Jan 2018 13:01:14 -0500 Subject: [PATCH] Display version slug --- .../core/static-src/core/js/doc-embed/version-compare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/core/static-src/core/js/doc-embed/version-compare.js b/readthedocs/core/static-src/core/js/doc-embed/version-compare.js index 095421b09cb..5f24fa33ce6 100644 --- a/readthedocs/core/static-src/core/js/doc-embed/version-compare.js +++ b/readthedocs/core/static-src/core/js/doc-embed/version-compare.js @@ -23,7 +23,7 @@ function init(data) { warning .find('a') .attr('href', currentURL) - .text(data.version); + .text(data.slug); var body = $("div.body"); if (!body.length) {