Commit 8416daa8 authored by Romain Casati's avatar Romain Casati
Browse files

Loader hide after notebook loaded.

parent 0ffa70b7
......@@ -10,7 +10,7 @@ window.basthonGUI = (function () {
* Initialise the GUI (Basthon part).
*/
that.init = async function () {
await Basthon.Goodies.showLoader("Chargement de Basthon-Notebook...");
await Basthon.Goodies.showLoader("Chargement de Basthon-Notebook...", false);
that.notebook = Jupyter.notebook;
// avoiding notebook loading failure.
......@@ -35,7 +35,9 @@ window.basthonGUI = (function () {
if( !window.basthonEmptyNotebook && !await that.loadFromQS() ) {
that.notebook.loadFromStorage();
}
Basthon.Goodies.hideLoader();
/* saving to storage on multiple events */
for( let event of ['execute.CodeCell',
'finished_execute.CodeCell',
......
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