Skip to content

Commit

Permalink
Fix broken popovers in MDQ run view
Browse files Browse the repository at this point in the history
See #2506
  • Loading branch information
robyngit committed Sep 9, 2024
1 parent 0ebb642 commit da6c788
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/views/MdqRunView.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,10 @@ define([
viewRef.drawScoreChart(qualityReport.models, groupedResults);
viewRef.showCitation();
viewRef.show();
viewRef.$(".popover-this").popover();
// Make sure the DOM is updated before initializing the popover
requestAnimationFrame(() => {
viewRef.$(".popover-this").popover();
});
},

/**
Expand Down

0 comments on commit da6c788

Please sign in to comment.