From 9058c06c547203ab466785bc5a54ab94fc338e27 Mon Sep 17 00:00:00 2001 From: eight Date: Mon, 1 Oct 2018 23:24:29 +0800 Subject: [PATCH] Fix: bad API --- edit/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit/edit.js b/edit/edit.js index 6f587189..71859ca5 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -453,7 +453,7 @@ function fromMozillaFormat() { function doImport({replaceOldStyle = false}) { lockPageUI(true); - API.parseMozFormat({code: popup.codebox.getValue().trim()}) + API.parseCss({code: popup.codebox.getValue().trim()}) .then(({sections, errors}) => { // shouldn't happen but just in case if (!sections.length && errors.length) {