diff --git a/src/theme-manager.coffee b/src/theme-manager.coffee index b161c6279..4919fbef2 100644 --- a/src/theme-manager.coffee +++ b/src/theme-manager.coffee @@ -250,7 +250,7 @@ class ThemeManager @requireStylesheet(nativeStylesheetPath) textEditorStylesPath = path.join(@resourcePath, 'static', 'editor.less') - atom.styles.addStyleSheet(@loadLessStylesheet(textEditorStylesPath), sourcePath: 'textEditorStylesPath', context: 'atom-text-editor') + atom.styles.addStyleSheet(@loadLessStylesheet(textEditorStylesPath), sourcePath: textEditorStylesPath, context: 'atom-text-editor') stylesheetElementForId: (id) -> document.head.querySelector("atom-styles style[source-path=\"#{id}\"]")