Hide tooltip manually
This fixes the not dissapearing tooltip issue on Firefox after toggling label priority
This commit is contained in:
parent
666b565168
commit
39e77651a2
1 changed files with 5 additions and 0 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Reference in a new issue