chat: fix syntax of regex check
@@ -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 = {
