Skip to content

Add check for if OPENED_POPUPS[key] is undefined#25

Open
hueychen27 wants to merge 4 commits intobhch:masterfrom
hueychen27:patch-2
Open

Add check for if OPENED_POPUPS[key] is undefined#25
hueychen27 wants to merge 4 commits intobhch:masterfrom
hueychen27:patch-2

Conversation

@hueychen27
Copy link

Prevents the following error:

TypeError: can't access property "node", OPENED_POPUPS[key] is undefined

It appears when the user clicks off the popup before the definition is retrieved, spamming the console logs with the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant