1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-10-17 09:42:45 +02: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";
};