|
@@ -50,6 +50,8 @@ function selectTab(viewTab) {
|
|
|
} else {
|
|
} else {
|
|
|
toggleMonthlyAnnualSwitching(viewTab, currentMonthlyAnnualSwitchValue)
|
|
toggleMonthlyAnnualSwitching(viewTab, currentMonthlyAnnualSwitchValue)
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ toggleUniversityInfo(viewTab)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function setUpTabSwitching() {
|
|
function setUpTabSwitching() {
|
|
@@ -90,6 +92,12 @@ function setUpGroupPlanPricingChange() {
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+function toggleUniversityInfo(viewTab) {
|
|
|
|
|
+ const el = document.querySelector('[data-ol-plans-university-info-container]')
|
|
|
|
|
+
|
|
|
|
|
+ el.hidden = viewTab !== 'student'
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
function selectViewFromHash() {
|
|
function selectViewFromHash() {
|
|
|
try {
|
|
try {
|
|
|
const params = new URLSearchParams(window.location.hash.substring(1))
|
|
const params = new URLSearchParams(window.location.hash.substring(1))
|