diff --git a/amd/src/page-edit-plan.js b/amd/src/page-edit-plan.js index ab81a38..b695d58 100644 --- a/amd/src/page-edit-plan.js +++ b/amd/src/page-edit-plan.js @@ -85,10 +85,6 @@ export function init(contextid,categoryid) { usedcontexts: [], }, created() { - this.$root.$on('redrawLines',()=>{ - // Ugly hack, but currently the only way to properly fix scrollablility in the lines - fixLineWrappers(); - }); this.$root.$on('studyplanRemoved',(studyplan)=>{ if(app.activestudyplan == studyplan){ @@ -110,7 +106,6 @@ export function init(contextid,categoryid) { }); }, mounted() { - fixLineWrappers(); call([{ methodname: 'local_treestudyplan_list_studyplans', args: { context_id: contextid}