Skip to content

Commit

Permalink
Upload SOP v4
Browse files Browse the repository at this point in the history
  • Loading branch information
zhx828 committed May 30, 2024
1 parent 409a892 commit 23f9e90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<span id="current-version-span"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="previousVersionDropdown">
<li><a class="dropdown-item" href="#" value="v4">Version 4</a></li>
<li><a class="dropdown-item" href="#" value="v3.1">Version 3.1</a></li>
<li><a class="dropdown-item" href="#" value="v3">Version 3</a></li>
<li><a class="dropdown-item" href="#" value="v2.2">Version 2.2</a></li>
Expand All @@ -46,7 +47,7 @@
})

// get the version from url
let version = 'v3.1';
let version = 'v4';
if (window.location.search && window.location.search.length > 1) {
const versionParams = window.location.search.slice(1).split("&").filter(function (item) {
return item.startsWith("version=")
Expand All @@ -60,6 +61,7 @@
}

const sopFileName = {
'v4': 'OncoKB_Curation_Standard_Operating_Procedure_v4.pdf',
'v3.1': 'OncoKB_Curation_Standard_Operating_Procedure_v3_1.pdf',
'v3': 'OncoKB_Curation_Standard_Operating_Procedure_v3.pdf',
'v3.0': 'OncoKB_Curation_Standard_Operating_Procedure_v3.pdf',
Expand Down
Binary file not shown.

0 comments on commit 23f9e90

Please sign in to comment.