0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Merge pull request #3191 from 5e-Cleric/Navigator-node-error-fix

Navigator Node Error Fix
This commit is contained in:
Trevor Buckner
2023-12-16 10:55:10 -05:00
committed by GitHub

View File

@@ -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