mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
replaceWith instead of html
This commit is contained in:
parent
660238d2cf
commit
be8be4c558
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ function regenerate_predecessor_family() {
|
|||
until parents.empty?
|
||||
parent = parents.pop
|
||||
parents += parent.predecessors -%>
|
||||
$('#<%= dom_id(parent) %>').html("<%= js_render(parent, { :parent_container_type => parent_container_type }) %>");
|
||||
$('#<%= dom_id(parent) %>').replaceWith("<%= js_render(parent, { :parent_container_type => parent_container_type }) %>");
|
||||
<%end-%>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue