Skip to content

Commit c3debef

Browse files
committed
Fix typo for automatic transform on body.
1 parent 7e6bf23 commit c3debef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parallax/parallax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function initializeParallax(clip, forceSticky) {
77
// in order for it to properly render the parallax effect as you scroll.
88
// See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/5084491/
99
if (getComputedStyle(document.body).transform == 'none')
10-
document.body.style.transform = 'translateZ(0);'
10+
document.body.style.transform = 'translateZ(0)';
1111
var fixedPos = document.createElement('div');
1212
fixedPos.style.position = 'fixed';
1313
fixedPos.style.top = '0';

0 commit comments

Comments
 (0)