diff options
| author | gunadhya <6939749+gunadhya@users.noreply.github.com> | 2021-01-22 01:01:20 +0530 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2021-08-17 21:55:26 -0500 |
| commit | ec86cfd6ba3412f7a12342a55093efebfac2b4c3 (patch) | |
| tree | 46a0a7bc42652d18ab225501e4eb2deeecbb4453 | |
| parent | 042c2ec369a61d52cef935cbb67ae9b81da03d0f (diff) | |
| download | rust-ec86cfd6ba3412f7a12342a55093efebfac2b4c3.tar.gz rust-ec86cfd6ba3412f7a12342a55093efebfac2b4c3.zip | |
Fix redirect issue
Signed-off-by: gunadhya <6939749+gunadhya@users.noreply.github.com>
| -rw-r--r-- | docs/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html index f31c695f7ca..bf4e455df21 100644 --- a/docs/index.html +++ b/docs/index.html @@ -121,7 +121,9 @@ console.log(err); return; } - this.version = latest.name; + if (versionParam == null) { + this.version = latest.name; + } }, async outputHtml() { if (this.version !== this.oldVersion) { |
