Removed old line wrapper hack

This commit is contained in:
PMKuipers 2023-07-18 13:21:44 +02:00
parent 6392a0686f
commit e3218a9ef6

View file

@ -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}