mirror of https://github.com/nocodb/nocodb
Pranav C
2 years ago
committed by
GitHub
2 changed files with 3 additions and 1 deletions
@ -1,3 +1,4 @@ |
|||||||
// refer - https://stackoverflow.com/a/11752084
|
// refer - https://stackoverflow.com/a/11752084
|
||||||
export const isMac = () => /Mac/i.test(navigator.platform) |
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') |
export const isDrawerOrModalExist = () => document.querySelector('.ant-modal.active, .ant-drawer-open') |
||||||
|
Loading…
Reference in new issue