Merge pull request #3293 from urbit/mp/chat-regex-mobile

chat: fix syntax of regex check
This commit is contained in:
matildepark 2020-08-11 18:36:08 -04:00 committed by GitHub
commit d8a832ceba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ import 'codemirror/addon/display/placeholder';
import 'codemirror/lib/codemirror.css';
const BROWSER_REGEX =
new RegExp(String(!/Android|webOS|iPhone|iPad|iPod|BlackBerry/i));
new RegExp(String(/Android|webOS|iPhone|iPad|iPod|BlackBerry/i));
const MARKDOWN_CONFIG = {