diff --git a/edit/edit.js b/edit/edit.js index 05df8091..796af1db 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -449,7 +449,7 @@ function fromMozillaFormat() { function doImport({replaceOldStyle = false}) { lockPageUI(true); - editorWorker.parseMozFormat(popup.codebox.getValue().trim()) + editorWorker.parseMozFormat({code: popup.codebox.getValue().trim()}) .then(({sections, errors}) => { // shouldn't happen but just in case if (!sections.length && errors.length) {