Use full URL for keyboard shortcuts documentation (#26777)

GitOrigin-RevId: dc165fc475a0d2513eaebec0176479dd538a7bac
This commit is contained in:
Alf Eaton
2025-07-09 13:47:55 +01:00
committed by Copybot
parent b843603bb1
commit b87b83e33c
2 changed files with 3 additions and 2 deletions

View File

@@ -10,8 +10,9 @@ export default function HotkeysModalBottomText() {
// eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key
<a
onClick={() => eventTracking.sendMB('left-menu-hotkeys-template')}
href="/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf"
href="https://www.overleaf.com/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf"
target="_blank"
rel="noreferrer"
/>,
]}
/>

View File

@@ -15,7 +15,7 @@ describe('<HotkeysModalBottomText />', function () {
})
expect(link.getAttribute('href')).to.equal(
`/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf`
`https://www.overleaf.com/articles/overleaf-keyboard-shortcuts/qykqfvmxdnjf`
)
})
})