We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470f9ca commit 61f31dfCopy full SHA for 61f31df
api/WebApi.ts
@@ -42,7 +42,7 @@ import os = require('os');
42
import url = require('url');
43
import path = require('path');
44
45
-const isBrowser: boolean = typeof window !== 'undefined';
+const isBrowser: boolean = typeof window !== 'undefined' && Boolean(window.navigator);
46
/**
47
* Methods to return handler objects (see handlers folder)
48
*/
0 commit comments