mirror of
https://github.com/bendtherules/UiQuestions.git
synced 2026-08-19 00:30:59 +00:00
handleScrollRestoration - Add script to head
This will set history.scrollRestoration to "manual" on page start, if hash starts with "link-"
This commit is contained in:
@@ -102,4 +102,10 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
],
|
||||
scripts: [
|
||||
{
|
||||
src:
|
||||
'/scripts/handleScrollRestoration.js',
|
||||
},
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user