Skip to content

Commit

Permalink
fix popover close
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalfox committed Aug 9, 2023
1 parent 8c93315 commit 893345c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/staffing/pdc_review.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ <h1>{% trans "Production rates and daily rates review" %}</h1>
$('.pdc-tooltip').not(this).popover('hide'); //all but this
});
/* bind close button */
$(document).on("click", ".popover .close" , function(){
$(this).parents(".popover").popover('hide');
$(document).on("click", ".popover .close" , function(e){
$(e.target).parents(".popover").popover().hide();
});

$('#buttons-projection label').tooltip({
Expand Down

0 comments on commit 893345c

Please sign in to comment.