File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var CodeMirror = (function() {
2424 '<div style="overflow: hidden; position: relative; width: 3px; height: 0px;">' + // Wraps and hides input textarea
2525 '<textarea style="position: absolute; padding: 0; width: 1px;" wrap="off" ' +
2626 'autocorrect="off" autocapitalize="off"></textarea></div>' +
27- '<div class="CodeMirror-scroll">' +
27+ '<div class="CodeMirror-scroll" tabindex="-1" >' +
2828 '<div style="position: relative">' + // Set to the height of the text, causes scrolling
2929 '<div style="position: relative">' + // Moved around its parent to cover visible view
3030 '<div class="CodeMirror-gutter"><div class="CodeMirror-gutter-text"></div></div>' +
@@ -45,7 +45,7 @@ var CodeMirror = (function() {
4545 // Needed to hide big blue blinking cursor on Mobile Safari
4646 if ( / A p p l e W e b K i t / . test ( navigator . userAgent ) && / M o b i l e \/ \w + / . test ( navigator . userAgent ) ) input . style . width = "0px" ;
4747 if ( ! webkit ) lineSpace . draggable = true ;
48- if ( options . tabindex != null ) input . tabindex = options . tabindex ;
48+ if ( options . tabindex != null ) input . tabIndex = options . tabindex ;
4949 if ( ! options . gutter && ! options . lineNumbers ) gutter . style . display = "none" ;
5050
5151 // Check for problem with IE innerHTML not working when we have a
You can’t perform that action at this time.
0 commit comments