mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Fix missing version picker on docs. (#843)
* Fix missing ) for version picker * Create 843.bugfix
This commit is contained in:
parent
527f6aabfd
commit
6e36d73ef6
1
changelog.d/843.bugfix
Normal file
1
changelog.d/843.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix version picker on docs site not loading.
|
@ -11,7 +11,7 @@ window.addEventListener("load", () => {
|
||||
res.json()
|
||||
).then(releases => {
|
||||
selectElement.innerHTML = "";
|
||||
for (const version of ['latest', ...releases.map(r => r.tag_name).filter(s => s !== "0.1.0" && !s.startsWith("helm-")]) {
|
||||
for (const version of ['latest', ...releases.map(r => r.tag_name).filter(s => s !== "0.1.0" && !s.startsWith("helm-"))]) {
|
||||
const option = document.createElement("option");
|
||||
option.innerHTML = version;
|
||||
selectElement.add(option);
|
||||
|
Loading…
x
Reference in New Issue
Block a user