Skip to content

Commit

Permalink
remove console refs
Browse files Browse the repository at this point in the history
  • Loading branch information
panoply committed Apr 29, 2024
1 parent 37b9ed4 commit b696287
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion index.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/components/observe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ export function updateNode (curNode: HTMLElement, newNode: HTMLElement, cRef: an

if (cRef && nRef) {

console.log(curNode, newNode);
disconnect(curNode, cRef);
connect(curNode, nRef);

Expand Down
2 changes: 0 additions & 2 deletions src/observe/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ async function pop (event: PopStateEvent & { state: HistoryState }) {

}

console.log(window.scrollY);

const page = $.pages[event.state.key];

if (page.type === VisitType.REVERSE) {
Expand Down

0 comments on commit b696287

Please sign in to comment.