Fix: parseMozFormat is not called correctly
This commit is contained in:
parent
b3c36fc717
commit
ca05a15219
|
@ -449,7 +449,7 @@ function fromMozillaFormat() {
|
||||||
|
|
||||||
function doImport({replaceOldStyle = false}) {
|
function doImport({replaceOldStyle = false}) {
|
||||||
lockPageUI(true);
|
lockPageUI(true);
|
||||||
editorWorker.parseMozFormat(popup.codebox.getValue().trim())
|
editorWorker.parseMozFormat({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