Commit 262da1f1 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'reload-new-navigation-option-change' into 'master'

Reload page after changing navigation preference

Closes #34968

See merge request !12833
parents c3c1a357 6900dff2
...@@ -7,5 +7,8 @@ export default () => { ...@@ -7,5 +7,8 @@ export default () => {
Cookies.set(el.name, el.value, { Cookies.set(el.name, el.value, {
expires: 365 * 10, expires: 365 * 10,
}); });
document.body.scrollTop = 0;
window.location.reload();
}); });
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment