mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-03-14 13:05:18 +00:00
make selector customisable
This commit is contained in:
@@ -13,7 +13,7 @@ window.addEventListener('popstate', event => {
|
||||
navigate(window.location);
|
||||
});
|
||||
|
||||
const target = document.querySelector('main');
|
||||
const target = document.querySelector('__selector__');
|
||||
let component;
|
||||
|
||||
function navigate(url) {
|
||||
|
||||
Reference in New Issue
Block a user