Skip to content

Commit c5dce13

Browse files
docs: default version selector to Cloud (Latest) (#2703)
Set select.value to the resolved current version after populating the options so the correct entry stays selected. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d0364fa commit c5dce13

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/assets/javascripts/version-select.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ function initializeVersionSelector() {
206206
}), currentVersion.version);
207207
selector.replaceChildren.apply(selector, Array.prototype.slice.call(generatedSelect.options));
208208
var select = selector;
209+
select.value = currentVersion.version;
209210
select.disabled = false;
210211

211212
// Navigate to the selected version

0 commit comments

Comments
 (0)