diff --git a/browser/components/CodeEditor.js b/browser/components/CodeEditor.js index 5ef2b904..b5e06a66 100644 --- a/browser/components/CodeEditor.js +++ b/browser/components/CodeEditor.js @@ -155,7 +155,7 @@ export default class CodeEditor extends React.Component { } if (prevProps.scrollPastEnd !== this.props.scrollPastEnd) { - this.editor.setOption('scrollPastEnd', this.props.scrollPastEnd); + this.editor.setOption('scrollPastEnd', this.props.scrollPastEnd) } if (needRefresh) {