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) {