From d24d115706ed650b0d762be3e19edcb13c223aec Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Thu, 1 Feb 2024 14:30:16 +0000 Subject: Update version picker for element-hq (#16880) --- changelog.d/16880.doc | 1 + docs/website_files/version-picker.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/16880.doc diff --git a/changelog.d/16880.doc b/changelog.d/16880.doc new file mode 100644 index 0000000000..0500cb3eca --- /dev/null +++ b/changelog.d/16880.doc @@ -0,0 +1 @@ +The version picker now correctly lists versions after `v1.98.0`. diff --git a/docs/website_files/version-picker.js b/docs/website_files/version-picker.js index bb35a7d896..b6f35f29c7 100644 --- a/docs/website_files/version-picker.js +++ b/docs/website_files/version-picker.js @@ -54,7 +54,7 @@ function fetchVersions(dropdown, dropdownMenu) { return new Promise((resolve, reject) => { window.addEventListener("load", () => { - fetch("https://api.github.com/repos/matrix-org/synapse/git/trees/gh-pages", { + fetch("https://api.github.com/repos/element-hq/synapse/git/trees/gh-pages", { cache: "force-cache", }).then(res => res.json() @@ -124,4 +124,4 @@ function changeVersion(url, newVersion) { parsedURL.pathname = pathSegments.join('/'); return parsedURL.href; -} \ No newline at end of file +} -- cgit 1.4.1