Skip to content

Commit f491340

Browse files
committed
Fix copy-paste mistake in previous patch
Issue codemirror#4194 Issue codemirror#4500
1 parent 64cffa1 commit f491340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/display/update_line.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function updateLineGutter(cm, lineView, lineN, dims) {
9696
let wrap = ensureLineWrapped(lineView)
9797
lineView.gutterBackground = elt("div", null, "CodeMirror-gutter-background " + lineView.line.gutterClass,
9898
`left: ${cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth}px; width: ${dims.gutterTotalWidth}px`)
99-
cm.display.input.setUneditable(gutterWrap)
99+
cm.display.input.setUneditable(lineView.gutterBackground)
100100
wrap.insertBefore(lineView.gutterBackground, lineView.text)
101101
}
102102
let markers = lineView.line.gutterMarkers

0 commit comments

Comments
 (0)