Fix: minor
This commit is contained in:
parent
79833d8bba
commit
6909c73c69
|
@ -826,7 +826,7 @@
|
|||
}
|
||||
},
|
||||
"meta_missingEOT": {
|
||||
"message": "Expect EOT list",
|
||||
"message": "Expect EOT data",
|
||||
"description": "Error displayed when the value is expected to be an EOT list"
|
||||
},
|
||||
"meta_missingMandatory": {
|
||||
|
|
|
@ -373,9 +373,7 @@ CodeMirror.hint && (() => {
|
|||
// USO vars in usercss mode editor
|
||||
const vars = editor.getStyle().usercssData.vars;
|
||||
const list = vars ?
|
||||
Object.keys(editor.getStyle().usercssData.vars)
|
||||
.filter(name => name.startsWith(leftPart)) :
|
||||
[];
|
||||
Object.keys(vars).filter(name => name.startsWith(leftPart)) : [];
|
||||
return {
|
||||
list,
|
||||
from: {line, ch: prev},
|
||||
|
|
Loading…
Reference in New Issue
Block a user