From 009f1251df93f9b7047d7a8da5d1c1d36641922d Mon Sep 17 00:00:00 2001 From: winniehell <git@winniehell.de> Date: Tue, 25 Oct 2016 21:23:48 +0200 Subject: [PATCH] Do not show tooltip for active element (!7105) --- CHANGELOG.md | 1 + app/assets/javascripts/application.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 372ddecc98ba..b37c4a6a4592 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,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) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index e57cf1b3a584..02a550409393 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -188,6 +188,7 @@ // Close select2 on escape }); // Initialize tooltips + $.fn.tooltip.Constructor.DEFAULTS.trigger = 'hover'; $body.tooltip({ selector: '.has-tooltip, [data-toggle="tooltip"]', placement: function(_, el) { -- GitLab