Skip to content

Commit

Permalink
Merge pull request #1340 from jay-hodgson/debug-global-click-handler
Browse files Browse the repository at this point in the history
temp debugger statements to help track down issue that Milan is exper…
  • Loading branch information
jay-hodgson authored Oct 31, 2024
2 parents aef2ec9 + 158f76a commit b51bfda
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function AppInitializer(props: React.PropsWithChildren<Record<never, never>>) {
* back to this portal after visiting www.synapse.org.
*/
function updateSynapseCallbackCookie(ev: MouseEvent) {
debugger
if (!cookies || !cookiePreferences.functionalAllowed) {
return
}
Expand Down Expand Up @@ -95,7 +96,7 @@ function AppInitializer(props: React.PropsWithChildren<Record<never, never>>) {
maxAge: 20,
})
}

debugger
window.addEventListener('click', updateSynapseCallbackCookie)

// Clean up the global listener on component unmount.
Expand Down

0 comments on commit b51bfda

Please sign in to comment.