1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-25 05:42:47 +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";
};