mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-11 19:04:30 +00:00
leave anchor scrolling on initial load to browser (#331)
This commit is contained in:
@@ -40,7 +40,7 @@ export default function start(opts: {
|
||||
if (initial_data.error) return handle_error(url);
|
||||
|
||||
const target = select_target(url);
|
||||
if (target) return navigate(target, uid, false, hash);
|
||||
if (target) return navigate(target, uid, true, hash);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user