Commit a5b4fa35 authored by Fatih Acet's avatar Fatih Acet 🔥

Merge branch 'active-element-tooltip' into 'master'

Do not show tooltip for active element

## What does this MR do?

Change Bootstrap's default for tooltips to display them only when hovering and not for the active element.

See also here:

## Screenshots

### Before


### After


## What are the relevant issue numbers?

Closes #23794

See merge request !7105
parents 458fa667 009f1251
Pipeline #4825167 failed with stages
in 59 minutes and 57 seconds
......@@ -20,6 +20,7 @@ Please view this file on the master branch, on stable branches it's out of date.
- Removed delete branch tooltip !6954
- Stop unauthorized users dragging on milestone page (blackst0ne)
- Restore issue boards welcome message when a project is created !6899
- Do not show tooltip for active element !7105 (winniehell)
- Escape ref and path for relative links !6050 (winniehell)
- Fixed link typo on /help/ui to Alerts section. !6915 (Sam Rose)
- Fix filtering of milestones with quotes in title (airatshigapov)
......@@ -188,6 +188,7 @@
// Close select2 on escape
// Initialize tooltips
$.fn.tooltip.Constructor.DEFAULTS.trigger = 'hover';
selector: '.has-tooltip, [data-toggle="tooltip"]',
placement: function(_, el) {
Markdown is supported
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