mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:03:15 +08:00
DEV: drops jquery for scroll-top mixin (#16099)
This commit is contained in:
parent
8c71878ff5
commit
dfc19c62f8
|
@ -7,7 +7,7 @@ const context = {
|
|||
if (isTesting()) {
|
||||
return;
|
||||
}
|
||||
$(document).scrollTop(0);
|
||||
document.documentElement.scrollTop = 0;
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user