Skip to content

Commit

Permalink
fix popovers on this app list
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Dec 23, 2024
1 parent 58a5ee9 commit c4d3fe7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/app/javascript/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ jQuery(function(){
title: function(){ return $(this).text() }
});

$('[data-toggle="popover"]').popover();
$('[data-toggle="tooltip"]').tooltip();
$('[data-bs-toggle="popover"]').popover();
$('[data-bs-toggle="tooltip"]').tooltip();
});
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
link_to(
link.url.to_s,
class: "list-group-item list-group-item-action #{"active" if local_assigns[:current_url] == link.url}",
title: link.title,
data: {
toggle: "popover",
content: manifest_markdown(link.description),
html: true,
trigger: "hover",
title: link.title,
'bs-toggle': "popover",
'bs-content': manifest_markdown(link.description),
'bs-html': true,
'bs-trigger': "hover",
container: "body",
}.merge(link.data)
) do
Expand Down

0 comments on commit c4d3fe7

Please sign in to comment.