Skip to content

[pull] main from jquery:main#1

Merged
pull[bot] merged 1 commit into
TheRakeshPurohit:mainfrom
jquery:main
Nov 8, 2021
Merged

[pull] main from jquery:main#1
pull[bot] merged 1 commit into
TheRakeshPurohit:mainfrom
jquery:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Nov 8, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Commit 1f2011e removed a `try-catch` around triggering the `remove` handlers
in the `jQuery.cleanData` override. The `try-catch` was meant for old IE but it was
also catching an error coming from the tooltip `remove` handler depending on
being able to find a relevant tooltip. The `_find` method returns `null`, though,
when the tooltip cotent is empty.

Instead of restoring the `try-catch`, handle the `null` case in the `remove` handler.

Fixes gh-1990
Closes gh-1994

Co-authored-by: Claas Augner <github@caugner.de>
Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
@pull pull Bot added the ⤵️ pull label Nov 8, 2021
@pull pull Bot merged commit 85fba3f into TheRakeshPurohit:main Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant