Fix tooltips for dashboard block after update

This commit is contained in:
Alexander Meindl 2020-08-10 19:37:41 +02:00
parent f8fbcc7806
commit 4a0eef61ec

View File

@ -1,3 +1,14 @@
<% @updated_blocks.each do |block| %>
$("#block-<%= block %>").replaceWith("<%= escape_javascript render_dashboard_block(block.to_s, @dashboard) %>");
<% end %>
$('[title]').tooltip({
show: {
delay: 400
},
position: {
my: "center bottom-5",
at: "center top"
}
});