Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibility
  • TYPO3.CMS
  • Repository
Switch branch/tag
  • TYPO3.CMS
  • ..
  • TypeScript
  • TypeScript
  • Tooltip.ts
Find file BlameHistoryPermalink
  • Nikita Hovratov's avatar
    [BUGFIX] Initialize tooltips only once · 3748cafd
    Nikita Hovratov authored Jul 27, 2021 and Benni Mack's avatar Benni Mack committed Jul 28, 2021
    Due to several modules initializing tooltips, it might happen that they
    are initializing the same element twice or even more times. This can be
    easily avoided by using the new bootstrap Tooltip method
    "getOrCreateInstance". This should fix weird behaviour, where the
    tooltip did not disappear.
    
    Also, since updating to a newer bootstrap version the fix 0005bc5b did
    not work anymore. This is fixed by using the container context as
    selector basis.
    
    Resolves: #94477
    Releases: master
    Change-Id: Iea67db7fe63825f2eba028302d435cf7e2c8e7b8
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70119
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    3748cafd