Skip to content
Snippets Groups Projects
Commit 9ee10ba5 authored by sheepmax's avatar sheepmax
Browse files

Fixed errors when missing cell input

parent 4e3c9a7a
No related branches found
No related tags found
3 merge requests!135Update 2 files,!120New thebe features,!101Thebe new features: tags, aesthetics, default ipywidgets install
......@@ -66,6 +66,7 @@ function setupNewCell(source, output, code) {
function addToThebeControls(cell, element) {
const controls = cell.querySelector(".thebe-controls");
if (controls == null) return; // Cell input likely removed
controls.insertBefore(element, controls.lastChild);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment