1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-23 17:42:46 +01:00
TweetDuck/resources/Content/notification/reset_scroll_position_on_load.js

7 lines
150 B
JavaScript

/**
* Forces the scroll position to reset every time a notification loads.
*/
export default function() {
history.scrollRestoration = "manual";
};