fix(scripts): restore facebook scroll

This commit is contained in:
wanhose 2021-04-11 19:39:29 +02:00
parent cd2d2422c0
commit 9db377ecdf

View File

@ -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");
};
/**