Skip to content
Snippets Groups Projects
Commit e037bd63 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Benni Mack
Browse files

[TASK] Deprecate usage of jQuery in Tooltip module

Passing jQuery objects to the methods `show()` and `hide()` of the module
`TYPO3/CMS/Backend/Tooltip` has been marked as deprecated.

The methods now check whether a NodeList or an HTMLElement is passed and
handles the tooltip actions accordingly. If a jQuery object is passed,
the old behavior is kept and a deprecation is logged in the browser's
console.

Resolves: #93506
Releases: master
Change-Id: I680ae542f616627d3e22262c33cf126abc889d80
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67915


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarMartin Kutschker <mkutschker-typo3@yahoo.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarMartin Kutschker <mkutschker-typo3@yahoo.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 68c748fe
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment