fix #1567 - remove active class when the estimation popover was closed
parent
15b7a38a57
commit
f2ee534669
|
@ -250,7 +250,12 @@ UsEstimationDirective = ($rootScope, $repo, $confirm, $qqueue) ->
|
|||
# Render into DOM and show the new created element
|
||||
$el.find(target).append(html)
|
||||
|
||||
$el.find(".pop-points-open").popover().open(-> $(this).removeClass("active"))
|
||||
$el.find(".pop-points-open").popover().open ->
|
||||
$(this)
|
||||
.removeClass("active")
|
||||
.closest("li").removeClass("active")
|
||||
|
||||
|
||||
$el.find(".pop-points-open").show()
|
||||
|
||||
calculateTotalPoints = (us) ->
|
||||
|
|
Loading…
Reference in New Issue