accourse banner carousel: slide2 control on right, + display when ready

This commit is contained in:
2021-11-22 10:05:34 +01:00
parent 7758e1358d
commit f69d6edba3
3 changed files with 10 additions and 3 deletions

View File

@@ -28,6 +28,9 @@ if (ACHeaderSlider) {
touch: true
})
;
document.addEventListener('DOMContentLoaded', (e) => {
controlNext.classList.remove('visually-hidden');
});
ACHeaderSlider.addEventListener('slid.bs.carousel', (e) => {
//console.log('from slide', e.direction, e.relatedTarget, e.from, e.to );
switch (e.to) {