Skip to content
Snippets Groups Projects
Unverified Commit d24d1157 authored by Will Hunt's avatar Will Hunt Committed by GitHub
Browse files

Update version picker for element-hq (#16880)

parent 3ba984d7
No related branches found
No related tags found
No related merge requests found
The version picker now correctly lists versions after `v1.98.0`.
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment