Skip to content

Commit 42b8dcb

Browse files
authored
fix: Add stage initialization check in _onResize (sugarlabs#4301)
1 parent bd5b973 commit 42b8dcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/activity.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3203,6 +3203,9 @@ class Activity {
32033203
this.saveLocally();
32043204
}
32053205
}
3206+
if (!this.stage) {
3207+
return;
3208+
}
32063209

32073210
const $j = jQuery.noConflict();
32083211
let w = 0,

0 commit comments

Comments
 (0)