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 80aa48a commit 08227e3Copy full SHA for 08227e3
app/assets/source-editor.js
@@ -157,7 +157,7 @@ window.onload = function() {
157
config.readOnly = "nocursor";
158
config.lineNumbers = true;
159
config.autofocus = false;
160
- config.lineWrapping = SourceEditor.getWrap();
+ config.lineWrapping = !!SourceEditor.getWrap();
161
config.dragDrop = false;
162
var editor = CodeMirror(document.body, config);
163
0 commit comments