X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3e25eb8de00f8d172b3ed2cfbb236e1e672426a0..ddfd0025304ea7087fdd2a4e06893a6f998b9f19:/project/static/js/lib/codemirror/codemirror.js diff --git a/project/static/js/lib/codemirror/codemirror.js b/project/static/js/lib/codemirror/codemirror.js index 5567f66f..f63ed07e 100644 --- a/project/static/js/lib/codemirror/codemirror.js +++ b/project/static/js/lib/codemirror/codemirror.js @@ -132,6 +132,7 @@ var CodeMirror = (function(){ var node = place; place = function(n){node.appendChild(n);}; } + if (options.lineNumbers) place = wrapLineNumberDiv(place); place(frame);