Skip to content

Commit

Permalink
Fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdas91 committed Nov 18, 2022
1 parent 94bf10f commit cfe3c27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/assets/1.0/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,10 @@
s.querySelector('rect').setAttribute('fill', `url(#s${i++})`)
})

document.querySelector('#specs-button').addEventListener('click', () => {
document.querySelector('#specs-button').addEventListener('click', (e) => {
e.preventDefault()
showTab('specs-tab')
window.location.href = '/#specs-css-custom-properties'
})
})
})()

0 comments on commit cfe3c27

Please sign in to comment.