remove webWorker outputs from request_for_comments

This commit is contained in:
Ralf Teusner
2017-07-19 14:29:45 +02:00
parent ae04a5adc5
commit 38c6e29cbf

View File

@ -134,6 +134,7 @@ also, all settings from the rails model needed for the editor configuration in t
currentEditor.setReadOnly(true); currentEditor.setReadOnly(true);
// set editor mode (used for syntax highlighting // set editor mode (used for syntax highlighting
currentEditor.getSession().setMode($(editor).data('mode')); currentEditor.getSession().setMode($(editor).data('mode'));
currentEditor.getSession().setOption("useWorker", false);
setAnnotations(currentEditor, $(editor).data('file-id')); setAnnotations(currentEditor, $(editor).data('file-id'));
currentEditor.on("guttermousedown", handleSidebarClick); currentEditor.on("guttermousedown", handleSidebarClick);