diff --git a/edit/source-editor.js b/edit/source-editor.js index 42c23327..4bdc53d8 100644 --- a/edit/source-editor.js +++ b/edit/source-editor.js @@ -135,7 +135,7 @@ function createSourceEditor(style) { $('#enabled').checked = style.enabled; $('#url').href = style.url; updateTitle(); - return cm.setPreprocessor(style.usercssData.preprocessor); + return cm.setPreprocessor((style.usercssData || {}).preprocessor); } function updateTitle() {