Ensure applySections is complete

This commit is contained in:
narcolepticinsomniac 2019-01-29 23:30:37 -05:00 committed by GitHub
parent b18d062d51
commit 756fafe263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -462,10 +462,12 @@ const APPLY = (() => {
transition: none !important;
}
`)
setTimeout(() => {
removeStyle({id: 0});
document.documentElement.classList.remove(className);
});
.then(() => {
setTimeout(() => {
removeStyle({id: 0});
document.documentElement.classList.remove(className);
});
});
}
function getStyleId(el) {