mirror of https://github.com/nocodb/nocodb
Wing-Kam Wong
2 years ago
1 changed files with 1 additions and 0 deletions
@ -1,3 +1,4 @@
|
||||
// refer - https://stackoverflow.com/a/11752084
|
||||
export const isMac = () => /Mac/i.test(navigator.platform) |
||||
export const isDrawerExist = () => document.querySelector('.ant-drawer-open') |
||||
export const isDrawerOrModalExist = () => document.querySelector('.ant-modal.active, .ant-drawer-open') |
||||
|
Loading…
Reference in new issue