fix(scripts): restore facebook scroll
This commit is contained in:
parent
cd2d2422c0
commit
9db377ecdf
@ -58,9 +58,11 @@ const commit = (selector) => {
|
||||
const fix = () => {
|
||||
const html = document.documentElement;
|
||||
const body = document.body;
|
||||
const facebook = document.querySelector("._31e");
|
||||
|
||||
html.style.setProperty("overflow-y", "unset", "important");
|
||||
body.style.setProperty("overflow-y", "unset", "important");
|
||||
if (facebook) root.style.setProperty("position", "unset", "important");
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user