Skip to content

Commit 1038a2c

Browse files
committed
Fix warning when an Ace instance was created
1 parent 3f1256a commit 1038a2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/codebot.editor.ace.js

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Codebot.Editor.Code.prototype.init = function() {
6666
aAce.setTheme("ace/theme/tomorrow_night_eighties"); // TODO: get theme from Codebot?
6767
aAce.getSession().setMode("ace/mode/javascript"); // TODO: choose mode based on file extension.
6868
aAce.getSession().setOption("useWorker", false);
69+
aAce.$blockScrolling = Infinity;
6970

7071
// TODO: remove this CODEBOT singleton call.
7172
for(i in CODEBOT.settings.get().editor) {

0 commit comments

Comments
 (0)