Fix: bad API
This commit is contained in:
parent
1f2d116aae
commit
9058c06c54
|
@ -453,7 +453,7 @@ function fromMozillaFormat() {
|
||||||
|
|
||||||
function doImport({replaceOldStyle = false}) {
|
function doImport({replaceOldStyle = false}) {
|
||||||
lockPageUI(true);
|
lockPageUI(true);
|
||||||
API.parseMozFormat({code: popup.codebox.getValue().trim()})
|
API.parseCss({code: popup.codebox.getValue().trim()})
|
||||||
.then(({sections, errors}) => {
|
.then(({sections, errors}) => {
|
||||||
// shouldn't happen but just in case
|
// shouldn't happen but just in case
|
||||||
if (!sections.length && errors.length) {
|
if (!sections.length && errors.length) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user