fix mobile bug
Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
parent
d331c7d568
commit
c9c0a1d484
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function bgInit(useCSSbg) {
|
||||||
|
|
||||||
if(useCSSbg) {
|
if(useCSSbg) {
|
||||||
el.style.background = el.getAttribute('data-bg');
|
el.style.background = el.getAttribute('data-bg');
|
||||||
el.querySelector('.text-container').styles.opacity = '1';
|
el.querySelector('.text-container').style.opacity = '1';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
el.style.background = '';
|
el.style.background = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue