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 3d9ec22 commit 3b731bbCopy full SHA for 3b731bb
lib/codemirror.js
@@ -19,7 +19,7 @@ var CodeMirror = (function() {
19
var wrapper = targetDocument.createElement("div");
20
wrapper.className = "CodeMirror";
21
// Work around http://www.quirksmode.org/bugreports/archives/2006/09/Overflow_Hidden_not_hiding.html
22
- if (window.ActiveXObject && /MSIE [1-7][\. ]/.test(navigator.userAgent))
+ if (window.ActiveXObject && /MSIE [1-7]\b/.test(navigator.userAgent))
23
wrapper.style.position = "relative";
24
// This mess creates the base DOM structure for the editor.
25
wrapper.innerHTML =
0 commit comments