diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue index c0ccb6293d3..b9cdd3fb1dd 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue @@ -301,7 +301,7 @@ this.quizInitialized = true; }, destroy() { - window.removeEventListener('beforeunload', this.onBeforeUnload) + window.removeEventListener('beforeunload', this.onBeforeUnload); }, methods: { beforeUnload(e) {