Extend bilinguality to VC subpages
This commit is contained in:
parent
92c3c9b3b5
commit
c0042c4b24
@ -60,6 +60,9 @@ function initializeElements() {
|
|||||||
});
|
});
|
||||||
sectionList = Array.from(document.querySelectorAll('.topics .section.main'));
|
sectionList = Array.from(document.querySelectorAll('.topics .section.main'));
|
||||||
contentArea = document.querySelector('.course-content');
|
contentArea = document.querySelector('.course-content');
|
||||||
|
if (!contentArea) {
|
||||||
|
contentArea = document.getElementById('region-main');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user