Skip to content

Commit

Permalink
Replace this with that in create_header method
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Mar 15, 2024
1 parent e3877fc commit de5b7f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/assignment-view-celltoolbar/src/celltoolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ export class AssignmentViewToolbar {
*/
create_header(div, cell, celltoolbar) {
if (cell.cell_type === null) {
let that = this;
setTimeout(function () {
this.create_header(div, cell, celltoolbar);
that.create_header(div, cell, celltoolbar);
}, 100);
} else {
if (!nbgrader_utils.is_solution(cell)) {
Expand Down

0 comments on commit de5b7f0

Please sign in to comment.