Skip to content

Commit

Permalink
fix: scrolling down from hero
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Sep 15, 2023
1 parent 9d1dfb5 commit 8e09d51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions static/code/css/ubq.css
Original file line number Diff line number Diff line change
Expand Up @@ -1183,3 +1183,11 @@ div#down-arrow-wrapper {
bottom: 48px;
right: 48px;
}

#Back,
#Logo {
pointer-events: none;
}
#Logo > .spin {
pointer-events: all;
}
2 changes: 1 addition & 1 deletion static/code/js/ubq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const observer = new IntersectionObserver((entries, observer) => {
const Partners = document.getElementById("Partners");
observer.observe(Partners);

const Logo = document.getElementById("Logo");
const Logo = document.getElementById("Logo")?.children[0];
Logo?.addEventListener("click", async () => {
observer.unobserve(Partners);
await logoClick();
Expand Down

0 comments on commit 8e09d51

Please sign in to comment.