Skip to content

Commit

Permalink
Use latest version slug in old version warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor authored Aug 9, 2016
1 parent 512654e commit 7d84130
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function init(data) {
warning
.find('a')
.attr('href', currentURL)
.text(data.version);
.text(data.slug[0] || data.version);

var body = $("div.body");
if (!body.length) {
Expand Down

0 comments on commit 7d84130

Please sign in to comment.