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 48c2e8e commit 8388914Copy full SHA for 8388914
lib/codemirror.js
@@ -22,7 +22,7 @@ window.CodeMirror = (function() {
22
23
var ios = /AppleWebKit/.test(navigator.userAgent) && /Mobile\/\w+/.test(navigator.userAgent);
24
// This is woefully incomplete. Suggestions for alternative methods welcome.
25
- var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent);
+ var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent);
26
var mac = ios || /Mac/.test(navigator.platform);
27
var windows = /windows/i.test(navigator.platform);
28
0 commit comments