Skip to content

Commit

Permalink
close any other popover
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Sep 11, 2019
1 parent a04813a commit b2b8613
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/dashboard/templates/bounty/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -486,12 +486,14 @@ <h3>{{ noscript.keywords }}</h3>
<script src="{% static "v2/js/clipboard.js" %}"></script>
<script>
$('[data-toggle="popover"]').popover()
$("body").on("mouseover", "[data-username]", function(e) {
openContributorPopOver($(this).data("username"), $(this));
$('body').on('mouseover', '[data-username]', function(e) {
openContributorPopOver($(this).data('username'), $(this));
$('[data-username]').not(this).popover('hide');
});
$("body").on("mouseout", "[data-username]", function(e) {
$('body').on('mouseout', '[data-username]', function(e) {
$(this).popover('dispose');
});

</script>
<script src="{% static "v2/js/lib/daterangepicker.min.js" %}"></script>
<script src="{% static "v2/js/pages/bounty_funder_payout_reminder.js" %}"></script>
Expand Down

0 comments on commit b2b8613

Please sign in to comment.