fixup 227dce01: new styles don't have usercssData
This commit is contained in:
parent
4a7c675d06
commit
385dda9923
|
@ -135,7 +135,7 @@ function createSourceEditor(style) {
|
||||||
$('#enabled').checked = style.enabled;
|
$('#enabled').checked = style.enabled;
|
||||||
$('#url').href = style.url;
|
$('#url').href = style.url;
|
||||||
updateTitle();
|
updateTitle();
|
||||||
return cm.setPreprocessor(style.usercssData.preprocessor);
|
return cm.setPreprocessor((style.usercssData || {}).preprocessor);
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateTitle() {
|
function updateTitle() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user