Skip to content

Commit

Permalink
Default version when no version is present
Browse files Browse the repository at this point in the history
Modifies `updateVersion` function to return "gh-pages" when no version is present.

Co-authored-by: Stephen Brennan <[email protected]>
Signed-off-by: sswastik02 <[email protected]>
  • Loading branch information
sswastik02 and brenns10 committed May 23, 2024
1 parent 29f1c83 commit 102cced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ <h5 class="modal-title" id="versionModalLabel">Select Version</h5>
window.history.pushState({}, '', url)
return
}
var version = params.get("version")
if(!version) return
var version = params.get("version");
if(!version) return "gh-pages";
sp.innerHTML = `Distribution Kernel Configs (version: ${version})`
return version
}
Expand Down

0 comments on commit 102cced

Please sign in to comment.