fix: Fix scrollbars and window minimize/close actions for win
This commit is contained in:
1 parent
196d01aae2
commit
fefae2b73d
6 files changed
+84
-43
No files matched your search
@@ -62,7 +62,14 @@ export default function initializeMockIPC(server) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for browser running on windows OS
|
||||
* Check for browsers running on mac OS
|
||||
*/
|
||||
isMacOS() {
|
||||
return Boolean(window.navigator.userAgent.match(/(macintosh)/i));
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for browsers running on windows OS
|
||||
*/
|
||||
isWindowsOS() {
|
||||
return Boolean(window.navigator.userAgent.match(/(windows)/i));
|
||||
|
||||
Reference in new issue
Block a user