Skip to content

Commit

Permalink
Fix Jupyter widget plugin switch
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Stein <[email protected]>
  • Loading branch information
texodus committed Nov 6, 2024
1 parent 00137e3 commit f74cf3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function toggle_edit_mode(mode = undefined) {
}

this.model._edit_mode = mode;
this.parentElement.setSelection();
this.parentElement?.setSelection();
this.model._selection_state = {
selected_areas: [],
dirty: true,
Expand Down

0 comments on commit f74cf3f

Please sign in to comment.