DEV: drops jquery for scroll-top mixin (#16099)

This commit is contained in:
Joffrey JAFFEUX 2022-03-04 12:45:23 +01:00 committed by GitHub
parent 8c71878ff5
commit dfc19c62f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ const context = {
if (isTesting()) {
return;
}
$(document).scrollTop(0);
document.documentElement.scrollTop = 0;
},
};