Skip to content

Commit

Permalink
enable tribes bounties popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed May 5, 2020
1 parent 150e750 commit ab1cebf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/dashboard/templates/profiles/tribes-vue.html
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,17 @@ <h4 class="px-2 pt-3 font-body text-muted">{% trans "Top ideas" %}</h4>
$('body').bootstrapTooltip({
selector: '[data-toggle="tooltip"]'
});
$('body').popover({
selector: '.bounty_row',
html: true,
trigger: 'hover',
placement: 'auto',
template: `<div class="popover popover-bounty" role="tooltip">
<div class="arrow"></div>
<div class="popover-body p-0"></div>
<h3 class="popover-header"></h3>
</div>`
});
const csrftoken = jQuery("[name=csrfmiddlewaretoken]").val();
document.tokens = tokens(document.web3network);
document.currentProfile = JSON.parse(document.getElementById('current-profile').textContent);
Expand Down

0 comments on commit ab1cebf

Please sign in to comment.