fix mobile bug

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2022-07-26 20:59:01 -05:00
parent d331c7d568
commit c9c0a1d484

View file

@ -31,7 +31,7 @@ function bgInit(useCSSbg) {
if(useCSSbg) {
el.style.background = el.getAttribute('data-bg');
el.querySelector('.text-container').styles.opacity = '1';
el.querySelector('.text-container').style.opacity = '1';
}
else {
el.style.background = '';