Commit 854572f8 authored by Boxiang Sun's avatar Boxiang Sun

erp5_notebook: Temp fix, window.iodide.xxx is undefined

the iodide seems not initialized correctly. I checked the new pyodide.js in the upstream, this logic was changed. But I didn't dig whether there has an issue associated with this problem. I plan to update the compiled pyodide module and source code later.
parent 72cc28a1
......@@ -108,7 +108,7 @@ var languagePluginLoader = new Promise((resolve, reject) => {
});
if (window.iodide !== undefined) {
window.iodide.evalQueue.await([ promise ]);
// window.iodide.evalQueue.await([ promise ]);
}
return promise;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment