Skip to content

Commit

Permalink
docs: change query selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Topener committed Nov 2, 2023
1 parent 805c5a5 commit bf93fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
const hash = window.location.hash.substring(2)

const newUrl = `https://developers.dhis2.org/docs/app-platform/${hash}`
document.querySelector('p a').href = newUrl
document.getElementById('url').href = newUrl
window.location.href = newUrl
</script>
</body>
Expand Down

0 comments on commit bf93fb3

Please sign in to comment.