mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 23:06:54 +00:00
navigator to window
This commit is contained in:
1 parent
4580217410
commit
7a06fe386d
1 file changed
+1
-1
@@ -7,7 +7,7 @@ const cx = require('classnames');
|
||||
const closeTag = require('./close-tag');
|
||||
|
||||
let CodeMirror;
|
||||
if(typeof navigator !== 'undefined'){
|
||||
if(typeof window !== 'undefined'){
|
||||
CodeMirror = require('codemirror');
|
||||
|
||||
//Language Modes
|
||||
|
||||
Reference in new issue
Block a user