mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Use full URL for keyboard shortcuts documentation (#26777)
GitOrigin-RevId: dc165fc475a0d2513eaebec0176479dd538a7bac
This commit is contained in:
@@ -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"
|
||||
/>,
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -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`
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user