mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Hide tooltip manually
This fixes the not dissapearing tooltip issue on Firefox after toggling label priority
This commit is contained in:
@@ -27,6 +27,11 @@ class @LabelManager
|
||||
$btn = $(e.currentTarget)
|
||||
$label = $("##{$btn.data('domId')}")
|
||||
action = if $btn.parents('.js-prioritized-labels').length then 'remove' else 'add'
|
||||
|
||||
# Make sure tooltip will hide
|
||||
$tooltip = $ "##{$btn.find('.has-tooltip:visible').attr('aria-describedby')}"
|
||||
$tooltip.tooltip 'destroy'
|
||||
|
||||
_this.toggleLabelPriority($label, action)
|
||||
|
||||
toggleLabelPriority: ($label, action, persistState = true) ->
|
||||
|
||||
Reference in New Issue
Block a user