Skip to content

Commit

Permalink
Merge pull request #1474 from juice500ml/init_cell_extension_fix_dupl…
Browse files Browse the repository at this point in the history
…icated_call

Fix duplicate call of extension "init_cell"
  • Loading branch information
juhasch authored Dec 21, 2022
2 parents b3c6868 + 1a3e1b8 commit 374defd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ define([
// kernel is already ready
run_init_cells();
}
// whenever a (new) kernel becomes ready, run all initialization cells
events.on('kernel_ready.Kernel', run_init_cells);
else {
// whenever a (new) kernel becomes ready, run all initialization cells
events.on('kernel_ready.Kernel', run_init_cells);
}
}

return {
Expand Down

0 comments on commit 374defd

Please sign in to comment.