|
@@ -113,6 +113,10 @@ window.L2_META = {
|
|
|
document.querySelectorAll('.panel-sec').forEach(function(s){s.classList.remove('active');});
|
|
document.querySelectorAll('.panel-sec').forEach(function(s){s.classList.remove('active');});
|
|
|
var sec = document.getElementById('sec-' + t.getAttribute('data-sec'));
|
|
var sec = document.getElementById('sec-' + t.getAttribute('data-sec'));
|
|
|
if (sec) sec.classList.add('active');
|
|
if (sec) sec.classList.add('active');
|
|
|
|
|
+ if (t.getAttribute('data-sec') === 'terms') {
|
|
|
|
|
+ var cb = document.getElementById('l2-showterm');
|
|
|
|
|
+ if (cb && !cb.checked) { cb.checked = true; cb.dispatchEvent(new Event('change')); }
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
})();
|
|
})();
|