()
| 10 | import gettext from 'sources/gettext'; |
| 11 | |
| 12 | function isMac() { |
| 13 | return window.navigator.userAgentData?.platform === 'macOS' |
| 14 | || window.navigator.platform.search('Mac') != -1; |
| 15 | } |
| 16 | |
| 17 | function isKeyCtrlAlt(event) { |
| 18 | return event.ctrlKey || event.altKey; |
no test coverage detected