120){
if(document.documentElement.scrollTop >= (document.querySelector('.section-content').clientHeight - 800)){
var h = document.querySelector('.section-content').clientHeight - 800;
document.querySelector('.desktop .toc').style.top = h+'px';
document.querySelector('.desktop .toc').style.position = 'absolute';
document.querySelector('.desktop .toc').style.width = '306px';
} else {
document.querySelector('.desktop .toc').style.top = '105px'
document.querySelector('.desktop .toc').style.position = 'fixed';
document.querySelector('.desktop .toc').style.width = 'auto';
}
} else {
document.querySelector('.desktop .toc').style.top = 'auto';
}
">
Daftar Isi
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h2.h21').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h2.h21').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h2.h21').classList.add('active');
">Syarat Puasa Ramadan
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h2.h22').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h2.h22').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h2.h22').classList.add('active');
">Beragam Bacaan Niat Doa Sahur Puasa
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h22h30').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h22h30').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h22h30').classList.add('active');
">Niat Doa Sahur Puasa Ramadan
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h22h31').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h22h31').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h22h31').classList.add('active');
">Niat Doa Sahur Puasa Sunnah
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h2.h23').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h2.h23').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h2.h23').classList.add('active');
">Puasa Ramadan dan Puasa Sunnah, Berbagi Keberkahan dan Kebaikan dengan JULO Paylater