From 364935a13e310887f71c57ac5becaa2a3a949adf Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 31 Jul 2012 10:29:31 -0400 Subject: [PATCH] fixed bug with CodeMirror vertical scroll bar --- lib/client/editor.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index a95d4ad9..41a84efd 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -37,14 +37,10 @@ CloudCommander.Editor.CodeMirror = { inner : '.CodeMirror{' + 'font-family :\'Droid Sans Mono\';' + 'font-size :15px;' + - 'resize :vertical;' + 'padding :20px;' + '}' + '.CodeMirror-scroll{' + 'height : 660px;' + - '}' + - '.CodeMirror-scrollbar{' + - 'overflow-y :auto' + '}' }); @@ -72,7 +68,7 @@ CloudCommander.Editor.CodeMirror = { value : pValue, theme : 'night', lineNumbers : true, - //переносим длинные строки + //переносим длинные строки lineWrapping: false, autofocus : true, extraKeys: {