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 0e28012 commit 36826c2Copy full SHA for 36826c2
lib/codemirror.js
@@ -28,6 +28,7 @@ window.CodeMirror = (function() {
28
29
var opera_version = opera && navigator.userAgent.match(/Version\/(\d*\.\d*)/);
30
if (opera_version) opera_version = Number(opera_version[1]);
31
+ if (opera_version && opera_version >= 15) { opera = false; webkit = true; }
32
// Some browsers use the wrong event properties to signal cmd/ctrl on OS X
33
var flipCtrlCmd = mac && (qtwebkit || opera && (opera_version == null || opera_version < 12.11));
34
var captureMiddleClick = gecko || (ie && !ie_lt9);
0 commit comments