mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-05 16:58:50 +01:00
replace instead of nesting div inside div
This commit is contained in:
parent
32a573d60b
commit
d5b695d733
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<% end -%>
|
||||
|
||||
function replace_updated_predecessor() {
|
||||
$('#<%= dom_id(@predecessor) %>').html( html_for_predecessor() );
|
||||
$('#<%= dom_id(@predecessor) %>').replaceWith( html_for_predecessor() );
|
||||
}
|
||||
|
||||
function regenerate_predecessor_family() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue