js bug fix compiled again
This commit is contained in:
parent
935b2ceeab
commit
e9ef33f882
File diff suppressed because one or more lines are too long
|
@ -330,8 +330,15 @@
|
|||
}
|
||||
|
||||
// Enable/disable arrows based on the current slide
|
||||
document.getElementById('arrowPrev').disabled = false; // Always enabled now
|
||||
document.getElementById('arrowNext').disabled = false; // Always enabled now
|
||||
// Attach event listeners
|
||||
let arrowprev = document.getElementById('arrowPrev');
|
||||
if (arrowprev) {
|
||||
arrowprev.disabled = false; // Always enabled now
|
||||
}
|
||||
let arrownext = document.getElementById('arrowNext')
|
||||
if (arrownext) {
|
||||
arrownext.disabled = false; // Always enabled now
|
||||
}
|
||||
}
|
||||
|
||||
function prevSlide() {
|
||||
|
|
Loading…
Reference in New Issue