diff --git a/src/editor-component.coffee b/src/editor-component.coffee index 47aa320b0..e190776e7 100644 --- a/src/editor-component.coffee +++ b/src/editor-component.coffee @@ -712,7 +712,7 @@ EditorComponent = React.createClass return unless @performedInitialMeasurement return unless atom.themes.isInitialLoadComplete() - @refreshScrollbars() if not stylesheet or @containsScrollbarSelector(stylesheet) + @refreshScrollbars() if not stylesheet? or @containsScrollbarSelector(stylesheet) @sampleFontStyling() @sampleBackgroundColors() @remeasureCharacterWidths()