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