mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
4 lines
101 B
TypeScript
4 lines
101 B
TypeScript
|
const isMac = /Mac/.test(window.navigator?.platform)
|
||
|
|
||
|
export const metaKey = isMac ? 'meta' : 'ctrl'
|