Skip to content

Commit

Permalink
console_error_removed (#3519)
Browse files Browse the repository at this point in the history
Canvas_refresh_only_for_defined_activity

setimeout done less

in_do_smaller_also_done

console_statements_removed

console_error_removed
  • Loading branch information
kaurjasleen240305 authored Jan 4, 2024
1 parent 619910c commit bb4cae2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,9 @@ class Activity {

this.setSmallerLargerStatus();
}
this.activity.refreshCanvas();
if(typeof(this.activity)!="undefined"){
this.activity.refreshCanvas();
}
document.getElementById("hideContents").click();
};

Expand Down Expand Up @@ -1265,7 +1267,9 @@ class Activity {
}

this.setSmallerLargerStatus();
this.activity.refreshCanvas();
if(typeof(this.activity)!="undefined"){
this.activity.refreshCanvas();
}
document.getElementById("hideContents").click();
};

Expand Down

0 comments on commit bb4cae2

Please sign in to comment.