X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3e25eb8de00f8d172b3ed2cfbb236e1e672426a0..b6a988bcb0532fa8bce3f1dab8862bb53ade7b3b:/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);