Fix tooltips for dashboard block after update
This commit is contained in:
parent
f8fbcc7806
commit
4a0eef61ec
@ -1,3 +1,14 @@
|
|||||||
<% @updated_blocks.each do |block| %>
|
<% @updated_blocks.each do |block| %>
|
||||||
$("#block-<%= block %>").replaceWith("<%= escape_javascript render_dashboard_block(block.to_s, @dashboard) %>");
|
$("#block-<%= block %>").replaceWith("<%= escape_javascript render_dashboard_block(block.to_s, @dashboard) %>");
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
|
$('[title]').tooltip({
|
||||||
|
show: {
|
||||||
|
delay: 400
|
||||||
|
},
|
||||||
|
position: {
|
||||||
|
my: "center bottom-5",
|
||||||
|
at: "center top"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user